Question: use do while loop with Java Problem 3: [10 marks] Converting temperature from Fahrenheit to Celsius (filename: ConvertFahToCelMethod.java) Write a program that converts temperature from

 use do while loop with Java Problem 3: [10 marks] Converting

use do while loop with Java

Problem 3: [10 marks] Converting temperature from Fahrenheit to Celsius (filename: ConvertFahToCelMethod.java) Write a program that converts temperature from Fahrenheit to Celsius (keep two decimals). After each conversion the user is prompted to answer if he wants to continue or not. If yes, the program asks the user to enter a new temperature and continue. The conversion from Fahrenheit to Celsius must be implemented through a programmer- defined method. You must design the algorithms for both the programmer-defined method and the main method. Two sample runs are shown below: Enter a temperature in Fahrenheit: 100 The temperature in Celsius is: 37.78 Do you want to continue? y Enter a temperature in Fahrenheit: 32 The temperature in Celsius is: 0.00 Do you want to continue? n

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!