Question: using visual studio please. Write a C++ program that takes a list of students grades for a given course (a grade is a positive integer

 using visual studio please. Write a C++ program that takes a

using visual studio please.

Write a C++ program that takes a list of students grades for a given course (a grade is a positive integer between 0 and 100), entered by the user through the keyboard. The program continues to read grades until the user enters -1 indicating the end of the list. When the end of the list is encountered, the program computes the course's average grade. The program divides the average grade by 10, then rounds the result of the division down using the floor function from "cmath" (the final rounded value will be a number between 0 and 10). The program will then use a switch statement to print out the equivalent Letter average grade and the performance statement of the class according to the following: if average = 9 or 10 print "Average Grade is A. Excellent Performance" if average = 8 print "Average Grade is B. Very Good Performance" if average = 7 print "Average Grade is C. Good Performance" if average = 6 print "Average Grade is D. Average Performance" otherwise print "Average Grade is F. Not Good Performance" Use a "switch-case" statement to output the proper average grade and class performance description

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!