text: Average of first n odd naturals numbers | C # Program to find the average of sum of first n odd numbers ; Return the average of sum of first n odd numbers ; Driver Code
code: using System ; class GFG { static int avg_of_odd_num ( int n ) { return n ; } public static void Main ( ) { int n = 8 ; Console . Write ( avg_of_odd_num ( n ) ) ; } }