Informatics

0 comments

Write a complete java program called Temperature that includes a loop structure, propmpting the user to enter 5 temperature values. The program should add up each temperature entered within the loop and this is stored in a variable called total. Using a system statement, output the total temperature value and the average temperature value. Use the sample output below as a guide-
The total temperature=
The average temperature=
 
Guideline
Data type for temperature values, total & average have to be double.
 
“Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!”

The post Informatics appeared first on Nursing Experts Help.

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}