Question: Write a program that Converts degrees Fahrenheit to Celsius degree by calling on the following method and printing out the result in celsius for fToC
Write a program that Converts degrees Fahrenheit to Celsius degree by calling on the following method and printing out the result in celsius for fToC:
public static double fToCdouble degreesF
return degreesF ;
hint:
The call in the main method :
System.out.println "Fahrenfeit is fToC; why
The program will also convert Celsius degree to degrees Fahrenheit by calling on the following method and printing out the result in Fahrenheit for cToF:
public static void cToFdouble degreesC
System.out.printlnCelsius degreesC is degreesC Fahrenheit";
hint:
The call in the main method:
cToF; why
Compile and save the program.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
