diff options
author | Michael Hunteman <michael@huntm.net> | 2024-01-19 10:19:14 -0600 |
---|---|---|
committer | Michael Hunteman <michael@huntm.net> | 2024-01-19 10:19:14 -0600 |
commit | 3ec60213eab6a852863f0697b8722f18d10d6307 (patch) | |
tree | b25ab6cfb40fe4e2363825b9c116e1279ef8bf29 /one | |
parent | 1699bc3c493678a18d1ee50b725a7512e0ff6095 (diff) |
Diffstat (limited to 'one')
-rw-r--r-- | one/temp.c | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -4,8 +4,8 @@ #define UPPER 300 #define STEP 20 -void -temp() +int +main() { float fahr, cel; @@ -21,11 +21,5 @@ temp() fahr = 9.0 / 5.0 * cel + 32.0; printf("%3.0f %6.0f\n", cel, fahr); } -} - -int -main() -{ - temp(); return 0; } |