Mail Archives: djgpp/2000/10/09/16:20:55
Hello,
I have a c programming question:
for the following statement (highlighted in Red) I am getting the error: Prog3_3.cpp(24) Error: Parse error before '('
the statement is:
for (Count=0;Count<20;Count ++)
{
printf("\nEnter a number between 10 and 100 (no duplicates) %d;", Count+1);
scanf("%d", &Numbers[Count]);
int If((Numbers[Count]>10)&&(Numbers[Count]<100))
printf("\nNumber is between 10 and 100");
else
printf("\nNumber is not between 10 and 100");
}
Can you give me a pointer on why this is doing this, thanks.
- Raw text -