Question: Please use java eclipse Problem 2 (10 pts) In this exercise, you will write a program that allows the user to change the temperature from

Please use java "eclipse"
Problem 2 (10 pts) In this exercise, you will write a program that allows the user to change the temperature from Celsius to Fahrenheit and vice-versa. Therefore, follow the steps below: a) Write a function called CtoF that transforms a temperature from Celsius (TC) to Fahrenheit (TF) according to the formula: TF = (9/5)*TC + 32. (3 pts) b) Write a function called FtoC that transforms a temperature from Fahrenheit (TF) to Celsius (TC) according to the formula: TC = (5/9)*(TF 32). (3 pts) c) Write a program that performs the following operations: (4 pts) - Ask the user to enter 1 if he wants to convert from Celsius to Fahrenheit, or 2 if he wants to convert from Fahrenheit to Celsius. - Get the user's choice, and then ask the user to enter the temperature. - According to the user's choice, call the appropriate function. - Display the result to the user
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
