Celsius to Fahrenheit Write a method int cToF(int x) that converts a Celsius temperature to a Fahrenheit temperature. The conversion formula is: The returned value should be rounded to the nearest...


Celsius to Fahrenheit


Write a method


int cToF(int x)


that converts a Celsius temperature to a Fahrenheit temperature. The conversion formula is:


The returned value should be rounded to the nearest degree. Test your method by displaying a table of Celsius temperatures from




40 to 100, in increments of fi ve degrees, with the Fahrenheit equivalents.

Nov 18, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here