Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please do it on NetBean. Thank you. Write a program that will ask the user to enter 5 quiz grades. Add each quiz grade to

Please do it on NetBean.

Thank you.

image text in transcribed

Write a program that will ask the user to enter 5 quiz grades. Add each quiz grade to a double variable called quizTotals. Then, calculate the average of all 5 quiz grades, and store it in a double variable called quizAverage.. Display the following output to the user: Enter quiz grade #1: Enter quiz grade #2 Enter quiz grade #3: Enter quiz grade #4: Enter quiz grade #5: The following quiz grades were entered: 100.0 97.0 67.0 85.0 78.0 The average of all quiz grades is: 85.4 Make sure your program can handle receiving any numeric input from the user, and accurately calculates the average of any 5 numbers

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

Database Modeling And Design

Authors: Toby J. Teorey, Sam S. Lightstone, Tom Nadeau, H.V. Jagadish

5th Edition

0123820200, 978-0123820204

More Books

Students also viewed these Databases questions