Question: write in java PROGRAM DESIGN Write a program that asks for the student's score and the number of items in each of the five laboratory
PROGRAM DESIGN Write a program that asks for the student's score and the number of items in each of the five laboratory exercises. It will then compute for the grade using the formula. Laboratory Grade = (Sum of Scores / Total Number of items) * 60 + 40 After the computation, the program then displays the grade with two decimal places. INPUT The input contains five lines. Each line contains the score, a space and the number of items for the particular lab exercise. OUTPUT Your program should print the text "lab grade is followed by the computed laboratory grade with two decimal places. SAMPLE INPUT 18 20 8 10 9 10 10 10 11 15 SAMPLE OUTPUT Lab grade is 91.69
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
