Marks program
purpose: To calculate the users average percentage in their marks
joelcalculatepercentage.zip |
Sample code
Greetings Sir/Ma'am
In this program we'll be calculating your average percentage in school
please Enter Your Name: Joel
Wow! what a unique name
Enter in your grade: 11
Please enter in your first subject: math
Please enter in your marks for your math course: 90
Good Job!
Please enter in your second subject: computer
Please enter in your marks for your computer course: 77
Good Job!
Please enter in your third subject: physics
Please enter in your marks for your physics course: 69
Good Job!
Please enter in your fourth subject: french
Please enter in your marks for your french course: 82
Good Job!
Subject marks
math 90
computer 77
physics 69
french 82
Average 79.5%
To repeat y-yes, n-no. Enter choice: n
Goodbye. Thank You For Visting
In this program we'll be calculating your average percentage in school
please Enter Your Name: Joel
Wow! what a unique name
Enter in your grade: 11
Please enter in your first subject: math
Please enter in your marks for your math course: 90
Good Job!
Please enter in your second subject: computer
Please enter in your marks for your computer course: 77
Good Job!
Please enter in your third subject: physics
Please enter in your marks for your physics course: 69
Good Job!
Please enter in your fourth subject: french
Please enter in your marks for your french course: 82
Good Job!
Subject marks
math 90
computer 77
physics 69
french 82
Average 79.5%
To repeat y-yes, n-no. Enter choice: n
Goodbye. Thank You For Visting