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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply