C Sharp Basic homework assignment 2?
If the program doesn’t run as it is supposed to, then please fix it and update it on solution, “if I say something doesn’t work” like that.
Please write comments for every line explaining what each do.
Develop a C# Visual Studio Console application that does the following:
Ask the user to enter 10 numbers on the Console, one at a time.
Assume that the user will only enter numbers (integer or double).
You do not need to validate the numbers entered.
1) List the numbers in ascending order
2) Calculate and display the Average of the numbers
3) Calculate and display the Variance of the numbers
4) Calculate and display the Range (Maximum - Minimum) of the numbers
Note: You are not REQUIRED to use Arrays (not discussed in class), but you can
Include Console.ReadKey(); as the last statement in your Main() method.