Demonstrate the method by calling it in a loop


Problem

The formula for converting a temperature from Fahrenheit to Celsius is

c=5/9(f-32)

Where f is the Fahrenheit temperature and c is the Celsius temperature. Establish a method named Celsius that accepts a Fahrenheit temperature as an argument. the method should return the temperature converted to Celsius. Demonstrate the method by calling it in a loop that displays a table of the Fahrenheit temperatures 0 through 20 and their Celsius equivalents.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Demonstrate the method by calling it in a loop
Reference No:- TGS03242070

Expected delivery within 24 Hours