Commit dc816a6
committed
feat: Add Temperature class to convert Celsius to Fahrenheit
Add a program that:
- Takes temperature input in Celsius from the user
- Converts it to Fahrenheit using the formula (C × 9/5) + 32
- Demonstrates basic arithmetic operations and input handling with `Scanner`.1 parent 92b0a05 commit dc816a6
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
0 commit comments