Java Practice It || 3.12 Temperature-errors || method basics, debugging

preview_player
Показать описание
Question:
The following program contains several errors. Correct the errors and submit a working version of the program. The corrected version of the program should produce the following output:

Body temp in C is: 37.0

Problem:
Рекомендации по теме
Комментарии
Автор

Another way to do it, is I took System.out.println("Body temp in C is: " + tempc); and cut and pasted it below: tempc = (tempf - 32) * 5 / 9;
And it worked, that was all I had to do.

TheFifthofFive