Average of first n odd naturals numbers | Return the average of sum of first n odd numbers ; Driver Code
function avg_of_odd_num ( n ) { return n ; } var n = 8 ; document . write ( avg_of_odd_num ( n ) ) ;