Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

write in java
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

2nd Edition

1597499471, 978-1597499477

More Books

Students also viewed these Databases questions

Question

How is the NDAA used to shape defense policies indirectly?

Answered: 1 week ago