Problem #1: Write a program that reads from the user the name of a student, the grades of two midterms and that of the final as integers. The weight of those exams is 30%, 30% and 40% respectively....

i need the answer quicklyProblem #1:<br>Write a program that reads from the user the name of a student, the grades of two midterms and<br>that of the final as integers. The weight of those exams is 30%, 30% and 40% respectively. The<br>program calculates and displays the total grade of the student as follows:<br>30<br>30<br>+ Final<br>100<br>Total grade<br>Midterm1 *<br>+ Midterm2<br>100<br>40<br>*<br>100<br>It also computes the curved grade using the following function:<br>4x<br>f(x) =<br>+ 20<br>Where x is the total grade and f(x) is the curved one. Finally, the program displays the difference<br>between the two (f(x) - x).<br>Sample Run:<br>Using java<br>your name: Ali<br>your midterm 1 grade: 70<br>your midterm 2 grade: 65<br>your final exam grade: 59<br>Ali,<br>Total is: 64.1 and the curved grade is: 71.28<br>You have got 7.18 more marks after the curve<br>

Extracted text: Problem #1: Write a program that reads from the user the name of a student, the grades of two midterms and that of the final as integers. The weight of those exams is 30%, 30% and 40% respectively. The program calculates and displays the total grade of the student as follows: 30 30 + Final 100 Total grade Midterm1 * + Midterm2 100 40 * 100 It also computes the curved grade using the following function: 4x f(x) = + 20 Where x is the total grade and f(x) is the curved one. Finally, the program displays the difference between the two (f(x) - x). Sample Run: Using java your name: Ali your midterm 1 grade: 70 your midterm 2 grade: 65 your final exam grade: 59 Ali, Total is: 64.1 and the curved grade is: 71.28 You have got 7.18 more marks after the curve

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here