Create an Average class with a public data member to collect the sum of the integer entries and a public data member to hold the double average of the sum of the 10 integers.
Public class method to get each integer number input.
Public class method to calculate the average of the numbers input.
Public class method to output the average of the numbers input.
Main( ) function that instantiates one Average object, and includes a for loop to take 10 inputs and calls to the calculation and output method.. The next chapter covers looping, however, you should be able to build a for-loop to accomplish the 10 inputs. A for-loop in C# is no different than a for-loop in C++ or Java.
Internal Documentation.
An example of possible output would look like this:
Enter an integer value: 1
Enter an integer value: 2
Enter an integer value: 3
Enter an integer value: 4
Enter an integer value: 5
Enter an integer value: 6
Enter an integer value: 7
Enter an integer value: 8
Enter an integer value: 9
Enter an integer value: 10
The average is 5.5, the sum of 10 numbers is 55
Press any key to continue . . .