Sample run 2 (no exams):
Number of assignments? 2
Your points? 9
Total points? 10
Your points? 15
Total points? 20
Number of exams (including final)? 0
Your current percent is 36
Total current percent is 45
This is 80%
Sample run 3 (assignments and exams):
Number of assignments? 3
Your points? 9
Total points? 10
Your points? 15
Total points? 20
Your points? 7.5
Total points? 10
Number of exams (including final)? 2
Your exam 1? 87
Total exam 1? 100
Your exam 2? 76.5
Total exam 2? 90
Your current percent is 52.6375
Total current percent is 65
This is 80.9808%
Sample run 4 (assignments and all exams):
Number of assignments? 4
Your points? 8
Total points? 10
Your points? 10
Total points? 10
Your points? 7
Total points? 10
Your points? 11
Total points? 10
Number of exams (including final)? 4
Your exam 1? 85
Total exam 1? 100
Your exam 2? 75
Total exam 2? 100
Your exam 3? 80
Total exam 3? 100
Your final? 70
Total final? 150
Your current percent is 76.1667
Total current percent is 100
This is 76.1667%
NOTES:
You may choose to make data file(s) and test program with input and/or output redirection.
Remember to start with file name, your name, class, date, and purpose - add any other helpful documentation.
This should be a console application (you may submit an additional windows version if you like).
All values except number of assignments and exams should be treated as real (use double in C++) numbers.
Make certain to use the exact prompts and output wording shown in sample
runs.