fifth exercise

This commit is contained in:
celso 2022-11-05 17:51:25 -03:00
parent 60d36096f0
commit 34b2fa78c7
1 changed files with 8 additions and 0 deletions

8
1-5.c Normal file
View File

@ -0,0 +1,8 @@
#include <stdio.h>
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;
}