hey guys can some one look over my code....it wont compile im using miracle c...can you guys tell me if its the code or the compiler....thanks
Code:
#include <stdio.h>
#include <math.h>
int main()
{
/* declared variable*/
int a;
int b;
int c;
int d;
for(a = 1; a <= 7; a++) // will increment by 1 until 7 is reached
{
printf("%d/n", a); //will print out result
}
for(b = 1; b <= 23; b += 5)
{
printf("%d/n", b);
}
for(c = 20; c >= -10; c -= 6)
{
printf("%d/n", c);
}
for(d = 19; d <= 51; d += 8)
{
printf("%d/n", d);
}
getch();
return 0;
}