Average of first n even natural numbers | C # Program to find the average of sum of first n even numbers ; Return the average of sum of first n even numbers ; driver code
using System ; class GFG { static int avg_of_even_num ( int n ) { return n + 1 ; } public static void Main ( ) { int n = 8 ; Console . Write ( avg_of_even_num ( n ) ) ; } }