Question: Create a package named temperature and create a program that has a while loop. Inside the while loop, your program will prompt the user for
Create a package named temperature and create a program that has a while loop. Inside the while loop, your program will prompt the user for temperature in Centigrade. . If the Centigrade value read in is-100, the loop will exit. Otherwise, your program will compute the Fahrenheit equivalent temperature. Inside the while loop, your program will print out the Centigrade and Fahrenheit temperatures. Keep a count of the valid user inputs and a running total of your Fahrenheit and Centigrade temperatures. When the user terminates the while loop, print out the average Centigrade and Fahrenheit temperatures Note that . Average-Fahrenheit-Total-of-Fahrenheit/ totaluser-inputs Average-Centgrade=Total-of-Centgrade / total-use-inputs o Also note that: . o Fahrenheit (9.0/5.0) Centigrade +32.0 Here is some sample output from your program: Enter Temp in Centigrade or
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
