Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Write a program using Blue) and Java to compute the average of three numbers, we will assume these numbers are test scores, so the

image text in transcribed
1. Write a program using Blue) and Java to compute the average of three numbers, we will assume these numbers are test scores, so the range the numbers can be are 0-100. 2. The three numbers you will use will be user input. [Use Scanner class to read input data from console) 3. The average is calculated by adding the three numbers and dividing the sum by three. 4. Your output should look similar to this, Sample Run: Enter subject_1 marks : 86.5 Enter subject_2 marks: 100 Enter subject_3 marks : 89 Average of three numbers : 91.833 5. Comment each line of code (Explanatory text to code). 6. Use comments to put your name, homework assignment number, name of the program, and the date. Programs that do not have this information will result in a 3 point penalty

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

Records And Database Management

Authors: Jeffrey R Stewart Ed D, Judith S Greene, Judith A Hickey

4th Edition

0070614741, 9780070614741

More Books

Students also viewed these Databases questions

Question

What does Processing of an OLAP Cube accomplish?

Answered: 1 week ago