Write a java program to accept 3 integer values from


Write a java program to accept 3 integer values from keyboard, display the sum and the average of the 3 values.

Run your program by DOS first then by netBeans IDE.

Program specs:

(1) When program starts, prompt the user with this program heading and instructions:

This program will sum up three integer values and calculate the average

You will be asked to input these values separately, the program will then:

(1) Calculate the total

(2) Calculate the average

(3) Display the values of total and average

Use ONLY one statement for the above requirement.

(2) The integer values can be stored by 4 bytes of memory

(3) The calculated results are displayed by ONE statement as follow:

The sum of integer value 1: xxxx
value 2: xxxx
value 3: xxxx
---------------------------------
Total: xxxxx
Average: xxxx.xx (2 decimal places)

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write a java program to accept 3 integer values from
Reference No:- TGS01395883

Expected delivery within 24 Hours