Message-ID: <01C031F3.9F9DB260.scottferg1@earthlink.net> From: Scott To: "'djgpp AT delorie DOT com'" Subject: C Programming Question Date: Mon, 9 Oct 2000 13:19:35 -0700 X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 Encoding: 22 TEXT Reply-To: djgpp AT delorie DOT com 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.