Question: Write a C++ program that accepts a student ID, first name, last name, and students score for the classes: CS11, CS12, and CS22. Calculate the

Write a C++ program that accepts a student ID, first name, last name, and students score for the classes: CS11, CS12, and CS22. Calculate the students total and average scores. Also, calculate the letter grade for the student by following the criteria given below:

A greater than or equal to 90

B less than 90 but greater than or equal to 80

C less than 80 but greater than or equal to 70

D less than 70 but greater than or equal to 60

F less than 60

Display the above grades appropriate for the student. If the student has an A grade than display a congratulatory message. If the student gets an F grade than display a warning message.

Sample Display Message:

Student Grading System (SGS)

College Name

Author: Your Name

Feb. 27, 2018

===============================================================

ID: 12345

First Name: Your First Name

Last Name: Your Last Name

Total: 270

Average: 90.00%

Grade: A

Comments: Congratulations on your achievements!

===============================================================

This is what I have so far, but I'm kind of stuck.

Write a C++ program that accepts a student ID, first name, lastname, and students score for the classes: CS11, CS12, and CS22. Calculatethe students total and average scores. Also, calculate the letter grade for

I keep getting lost when it comes to if and else statements and the grading as well as adding a comment to the grade of an A and the failing grade F. If someone could let me know what I am doing wrong and what I can do to improve my errors.

1 #include 2 #include 4 using namespace std; 6 int main() int studScore; int studAvg; int Class1; int Class2; int Class3; int studentID; int final_grade; 10 12 13 14 15 16 17 18 19 20 21 Unused variable 'final_grade // basic starter header cout

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!