Students, please be sure to log in. This site does not use cookies and does not track/store work submitted when not signed in.
Unit 1 Problems
Java Reference Sheet
temperature
Someone's trying to convert temperature from Celsius to Fahrenheit, however, their code does not work. Fix it for them.
Warning: int division problem. In java programming. Dividing two int values will result in an int result. If you want a decimal result, one of the operands must be a decimal number.
Anders Celsius originally proposed the Celsius temperature scale in 1742 with a reversed orientation compared to the modern Celsius scale
Temperature in degrees Fahrenheit (�F) = (Temperature in degrees Celsius (�C) * 9/5) + 32.
Hint: Make sure you use decimal numbers if you want answers to be in decimal.