Calculate average in C# – Programming, Pseudocode Example, C# Programming Example