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.



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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
