Question: Please help write java program. Thanks Write a program to convert a Celsius temperature to a Fahrenheit temperature. Your program should have two methods: main
Please help write java program. Thanks
Write a program to convert a Celsius temperature to a Fahrenheit temperature. Your program should have two methods: main method accepts from the user two input (positive or negative) integers that defines a range and calls the method cToF to generate a table of Celsius temperature from the lower bound to the upper bound of the range in increments of five degrees, with the Fahrenheit equivalents. cToF method with the header int cToF (int x) that converts a Celsius temperature to a Fahrenheit temperature. The conversion formula is F = (9.0/5.0) C + 32
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
