Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a C++ program that will calculate your final grade. Your program must prop

ID: 3659431 • Letter: W

Question

Write a C++ program that will calculate your final grade. Your program must properly weight each category of grades and also associate the final grade with the corresponding letter grade. The Category weights and letter grade ranges are as follows: Quizzes&Homework=20% Tests=20% Projects=20% FinalExam=40%(Use a grade of 100 points) A:90-100 B:80-89 C: 70-79 F: <70 This program must utilize at least 3 of the topics we have discussed thus far which include the following: Basic cin and cout statements Repetition Statements Selection Statements Functions Example Output (you must at minimum include the following information, however you are not limited to this): Michael Johnson Quizzes&Homework=18 Tests=17 Projects =19 Final Exam =36 NumberGrade=90 LetterGrade=A

Explanation / Answer

#include using namespace std; char getGrade(int sum) { if(sum>=90) return 'A'; else if(sum>=80) return 'B'; else if(sum>=70) return 'C'; else return 'F'; } int main() { int q,t,p,f; cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote