first commit!
This commit is contained in:
9
fahrcelcforloop.c
Normal file
9
fahrcelcforloop.c
Normal file
@ -0,0 +1,9 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main() {
|
||||
int fahr;
|
||||
|
||||
for (fahr = 0; fahr <= 300; fahr = fahr + 20) {
|
||||
printf("%3d %6.1f\n", fahr, (5.0/9) * (fahr - 32));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user