Question: Core Lab 4.1 (4 lab points) Take your ConvertTemp.java file and copy it to a file named rtTemp. java. Then add in a loop to
Core Lab 4.1 (4 lab points) Take your ConvertTemp.java file and copy it to a file named rtTemp. java. Then add in a loop to make the work be performed LabCh04NiceConve repeatedly whether they want to convert another temper- t the answer in a String, and set the value of a boolean variable named done ature, ge to true or false depending on their answer (use keys. nextLine to get the answer) the first char in their answer is n or N, set done to true. Exit the loop when done holds true He re is a sample execution showing how your program should behave, with the user input shown in bold: Enter temp in Fahrenheit: 71.5 That is 21.9444444444444 in centigrade Convert another? y Enter temp in Fahrenheit: 212 That is 100.0 in centigrade Convert another? Yes Enter temp in Fahrenheit: 32 That is 0.0 in centigrade Convert another? n
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
