D
Daniel.C
Hello.
I'm a complete beginner and I cant go through the third exercise of my book
;-(((
I wrote :
#include <stdio.h>
main()
{
int fahr;
for (fahr = 300; fahr <= 0; fahr = fahr - 20)
printf("%3d %6.1f\n", fahr, (5.0/9.0)*(fahr-32));
}
There is no output. The reverse (from 0 to 300) is OK.
I'm using MinGW with windows XP.
What's wrong ?
Thanks in advance.
Daniel
I'm a complete beginner and I cant go through the third exercise of my book
;-(((
I wrote :
#include <stdio.h>
main()
{
int fahr;
for (fahr = 300; fahr <= 0; fahr = fahr - 20)
printf("%3d %6.1f\n", fahr, (5.0/9.0)*(fahr-32));
}
There is no output. The reverse (from 0 to 300) is OK.
I'm using MinGW with windows XP.
What's wrong ?
Thanks in advance.
Daniel