CJCoding With Joseph

To Celsius Method

Complete the static method ToCelsius so it converts a Fahrenheit temperature to Celsius using the formula (f - 32) * 5 / 9 and returns it as a double. The tester calls it and prints the result. Do NOT write a Main method.

For ToCelsius(212) the program prints exactly:
100

Expected Output:

100
Topics:
Methods
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.