Added example 5-14. Sorts data from stdin. Has some issues.
[C-Programming-Examples.git] / ex_1-15.c
blob5aba0daeb98061716cd1f0ba8202dd42901ac360
1 #include <stdio.h>
3 int temp_conv(int c);
5 main()
8 int i;
10 for(i = 0 ; i < 300; ++i)
11 printf("%d -> %d\n", i, temp_conv(i));
12 return 0;
15 int temp_conv(int c)
17 int answer = 5 * (c-32) / 9;
18 return answer;