Displaying the marks and average marks
Name: Aditya semwal
Date: dec 8, 2022
Student #2210568
Purpose: In this program we will be displaying the marks of the user and displaying the average
Date: dec 8, 2022
Student #2210568
Purpose: In this program we will be displaying the marks of the user and displaying the average
See my program: https://replit.com/@adityasemwal15/AdityaMarks?v=1
adityamarks.zip |
Hello Welcome to this program
In this program I will be averaging your marks
Please enter your four subjects this semester
1: math
2: science
3: english
4: pe
Please tell me your marks for these subjects between (1 to 100)
math: 1111
Please provide number in range between (1 to 100):
math: 333
Please provide number in range between (1 to 100):
math: 78
science: 98
english: 790
Please provide number in range between (1 to 100):
english: 57
pe: 85
Subjects Marks
math 78
science 98
english 57
pe 85
Your average marks this semester is: 79.5%
To repeat the program y = yes, n = no. Whats your choice: a
please give the right input:
To repeat the program y = yes, n = no. Whats your choice: t
please give the right input:
To repeat the program y = yes, n = no. Whats your choice: y
Please enter your four subjects this semester
1: math
2: science
3: english
4: pe
Please tell me your marks for these subjects
math: 222
Please provide number in range:
math: 57
science: 93
english: 45
pe: 23
Subjects Marks
math 57
science 93
english 45
pe 23
Your average marks this semester is: 54.5%
To repeat the program y = yes, n = no. What's your choice: n
Thank you for visiting
In this program I will be averaging your marks
Please enter your four subjects this semester
1: math
2: science
3: english
4: pe
Please tell me your marks for these subjects between (1 to 100)
math: 1111
Please provide number in range between (1 to 100):
math: 333
Please provide number in range between (1 to 100):
math: 78
science: 98
english: 790
Please provide number in range between (1 to 100):
english: 57
pe: 85
Subjects Marks
math 78
science 98
english 57
pe 85
Your average marks this semester is: 79.5%
To repeat the program y = yes, n = no. Whats your choice: a
please give the right input:
To repeat the program y = yes, n = no. Whats your choice: t
please give the right input:
To repeat the program y = yes, n = no. Whats your choice: y
Please enter your four subjects this semester
1: math
2: science
3: english
4: pe
Please tell me your marks for these subjects
math: 222
Please provide number in range:
math: 57
science: 93
english: 45
pe: 23
Subjects Marks
math 57
science 93
english 45
pe 23
Your average marks this semester is: 54.5%
To repeat the program y = yes, n = no. What's your choice: n
Thank you for visiting