Informatics
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.
6 years ago 18
Answer(0)
other Questions(10)
- english final
- HMW DUE 3 HOURS
- Criminal justice 105 Unit 2, Ind. Project - Theories of Crime causation
- Com 156 week 2 Americans Should Not Use Credit Cards
- BUS 610 Week 5 Understanding and Coping with Change
- Can someone do this homework?
- AED 200 Week 4 Assignment Students Rights and Teachers Responsibilities Scenario
- The Internet and Distributed Data
- stats assignment
- Cal 2 Work 2A for Tutor Daniel Only