Page 1 of 1

Write a .NET Framework Console Application that continuously prompts the user to enter a score as a double. Add this sco

Posted: Tue Jul 05, 2022 10:26 am
by answerhappygod
Write a .NET Framework Console Application that continuouslyprompts the user to enter a score as a double. Add this score to atotal and find the average of all scores entered on each iterationof a loop, and display this info to the user for each iteration aswell. Stop only when the user enters -1, and then display a goodbyemessage. Sample output: Please enter a score (OR -1 TO QUIT ): 5Total = 5, Average = 5 Please enter a score (OR -1 TO QUIT ): 7Total = 12, Average = 6 Please enter a score (OR -1 TO QUIT ): 5Total = 17, Average = 3.4 Please enter a score (OR -1 TO QUIT ): -1Goodbye and thanks for playing! FOR C# PLEASE