For my assignment i need to use 2 methods, getFahrentheit() and getCelsius() and this method has to convert the temp to Celsius before returning it. Fahrenheit to Celsius is (5 x (F-32)/9) Can anyone help on what to put in the getFahrenheit() and Celsius() methods?
Question
blackmartinix
For my assignment i need to use 2 methods, getFahrentheit() and getCelsius() and this method has to convert the temp to Celsius before returning it. Fahrenheit to Celsius is (5 x (F-32)/9) Can anyone help on what to put in the getFahrenheit() and Celsius() methods?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts