Average of first n even natural numbers | Return the average of sum of first n even numbers ; Driver Code
< ? php function avg_of_even_num ( $ n ) { return $ n + 1 ; } $ n = 8 ; echo ( avg_of_even_num ( $ n ) ) ; ? >