C++ Marks Program
Purpose: The Purpose of this program is to Display your marks then calculate your overall then display your average mark from all classes
judemarksprogram.zip |
SAMPLE: Welcome to the program where we calculate your average percent for four courses
Please enter your first subject:
Mathematics
Mathematics That is great class
Please enter your second subject:
Chemistry
Chemistry That is great class
Please enter your third subject:
French
French That is great class
Please enter your fourth subject:
Computers
Computers That is great class
Now you need to input your marks for each class
Mathematics:1001
Invalid Input!
Mathematics:-2
Invalid Input!
Mathematics:90
Chemistry:-2
Invalid Input!
Chemistry:101
Invalid Input!
Chemistry:82
French:907
Invalid Input must be within 100%!
French:1111
Invalid Input must be within 100%!
French:77
Computers:69
Calculating your average based on the marks you have provided
Mathematics:90
Chemistry:82
French:77
Computers:69
---------------------------------------
79.5%
Press 1 if you want to repeat this program, press 2 if you want to end this program:
3
Invalid Input. Please try again
Press 1 if you want to repeat this program, press 2 if you want to end this program:
2
Goodbye!
Please enter your first subject:
Mathematics
Mathematics That is great class
Please enter your second subject:
Chemistry
Chemistry That is great class
Please enter your third subject:
French
French That is great class
Please enter your fourth subject:
Computers
Computers That is great class
Now you need to input your marks for each class
Mathematics:1001
Invalid Input!
Mathematics:-2
Invalid Input!
Mathematics:90
Chemistry:-2
Invalid Input!
Chemistry:101
Invalid Input!
Chemistry:82
French:907
Invalid Input must be within 100%!
French:1111
Invalid Input must be within 100%!
French:77
Computers:69
Calculating your average based on the marks you have provided
Mathematics:90
Chemistry:82
French:77
Computers:69
---------------------------------------
79.5%
Press 1 if you want to repeat this program, press 2 if you want to end this program:
3
Invalid Input. Please try again
Press 1 if you want to repeat this program, press 2 if you want to end this program:
2
Goodbye!