Average of first n odd naturals numbers | Return the average of sum of first n odd numbers ; Driver Code
< ? php function avg_of_odd_num ( $ n ) { return $ n ; } $ n = 8 ; echo ( avg_of_odd_num ( $ n ) ) ; ? >