Create a script that will do the process of grades computation with the the following consideration: 1 Major exam : 40% 3 Quizzes : 20% 1 Project : 30% 2 Assignments : 10% Compute for the average of the grades after user provided the data. Also, kindly consider the table specification commensurate to the grades computed: Grades Remarks 98-100 1.0 95-97 1.25 92-94 1.5 89-91 1.75 86-88 2.0 83-85 2.25 79-82 2.5 76-78 2.75 75 3.0 <75 5.0 >100 N/A Sample Output: Please enter Student Name: Ryan Please Enter grade for Major Exam: 90 Please Enter grade for Quiz 1: 90 Please Enter grade for Quiz 2: 90 Please Enter grade for Quiz 3: 90 Please Enter grade for Project: 90 Please Enter grade for Assignment 1:90 Please Enter grade for Assignment 2: 90 1 Major Exam's average is 90 and the 40% equivalent is 36 3 Quizzes' average is 90 and the 20% equivalent is 18 1 Project’s average is 90 and the 30% equivalent is 27 1 Assignment's average is 90 and the 10% equivalent is 9 Ryan's total grade is 90 and its equivalent is 1.75 Please show code in order for me to give you a like
Create a script that will do the process of grades computation with the the following consideration:
1 Major exam : 40%
3 Quizzes : 20%
1 Project : 30%
2 Assignments : 10%
Compute for the average of the grades after user provided the data.
Also, kindly consider the table specification commensurate to the grades computed:
Grades Remarks
98-100 1.0
95-97 1.25
92-94 1.5
89-91 1.75
86-88 2.0
83-85 2.25
79-82 2.5
76-78 2.75
75 3.0
<75 5.0
>100 N/A
Sample Output:
Please enter Student Name: Ryan
Please Enter grade for Major Exam: 90
Please Enter grade for Quiz 1: 90
Please Enter grade for Quiz 2: 90
Please Enter grade for Quiz 3: 90
Please Enter grade for Project: 90
Please Enter grade for Assignment 1:90
Please Enter grade for Assignment 2: 90
1 Major Exam's average is 90 and the 40% equivalent is 36
3 Quizzes' average is 90 and the 20% equivalent is 18
1 Project’s average is 90 and the 30% equivalent is 27
1 Assignment's average is 90 and the 10% equivalent is 9
Ryan's total grade is 90 and its equivalent is 1.75
Please show code in order for me to give you a like
Step by step
Solved in 3 steps with 3 images