summaryrefslogtreecommitdiff
path: root/one
diff options
context:
space:
mode:
Diffstat (limited to 'one')
-rw-r--r--one/temp.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/one/temp.c b/one/temp.c
index cbbbc23..3b49c39 100644
--- a/one/temp.c
+++ b/one/temp.c
@@ -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;
}