diff options
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; } |