File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
src/com/codefortomorrow/intermediate/chapter11 Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ public static double fahrenheitToCelsius(double fahrenheit)
13
13
fahrenheit = (9.0 / 5) * celsius + 32
14
14
celsius = (5.0 / 9) * (fahrenheit – 32)
15
15
16
+ Bonus points for writing JavaDoc comments for both methods.
17
+
16
18
Write a test program that asks the user for a temperature
17
19
in Fahrenheit and prints out the Celsius conversion. Then
18
20
ask the user for a temperature in Celsius and print out
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ public static double fahrenheitToCelsius(double fahrenheit)
15
15
fahrenheit = (9.0 / 5) * celsius + 32
16
16
celsius = (5.0 / 9) * (fahrenheit – 32)
17
17
18
+ Bonus points for writing JavaDoc comments for both methods.
19
+
18
20
Write a test program that asks the user for a temperature
19
21
in Fahrenheit and prints out the Celsius conversion. Then
20
22
ask the user for a temperature in Celsius and print out
You can’t perform that action at this time.
0 commit comments