diff --git a/1-5.c b/1-5.c new file mode 100644 index 0000000..bd4d8b1 --- /dev/null +++ b/1-5.c @@ -0,0 +1,8 @@ +#include +int main(){ + int fahr; + for (fahr=300; fahr>=0; fahr-=20){ + printf("%3d %6.1f\n", fahr, (5.0/9.0)*(fahr-32)); + } + return 0; +}