Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Intended outcome is to : Create a numeric menu driven program. Add grade adds a student grade. Display all grades dumps all the scores to
Intended outcome is to :
Create a numeric menu driven program. Add grade adds a student grade. Display all grades dumps all the scores to the console. Process all grades calculates the gpa for all the grades. The program continues to run until option 4 - quit, is selected.
Objectives:
1. Add Grade
2. Display All Grades.
3. Process All Grades.
4. Quit Program.
Create a program in C++ which will accept an unlimited number of grades and calculates the average score. Assume each test is worth 100 points. Suggested letter grades scale of 90+ 'A', 80+ 'B', 70+ 'C, 60+ 'D', less than 60 are 'F. Example of the Main Menu; 1. Add Grade. 2. Display All Grades. 3. Process All Grades. 4. Quit Program. Create a void Program Greeting function. This function should display (on individual lines): A welcome message. The date such as June 30, 1988. Print all scores entered to screen when menu selection 2 is chosen. Include the letter grades for each individual test score printed. Compute the average grade when menu selection 3 is chosen. Create a dynamic array on the heap that store student scores. Start the array at size 0 and increase it by 1 every time add a new score with menu option 1. Only accept numbers in the range of valid inputs (1..4). Reject all other menu input and re-prompt. Print the letter grade for the overall GPA Put all the date code in class Date class. Set the data for your Date class externally, either through a setter method or a constructor. Create a method in the date class which performs self diagnostics. Add a void UnitTest() function to the program which can check error for too high and too low scores
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started