Ok I am once again doing another small and useless test so please don't ask me why I have printed what I have I just did so..
The do while statement that has the comment [this is it] beside it, I don't know why it won't work, the one under it is from my compilers index I was comparing them so what is wrong with mine, I know it looks wrong but my compiler just says I have 2 errors, I need to put some brackets in but they only make more problems.Code:#include <stdio.h> int userNum; int x=1; int main(void) { printf("Please enter the number 1: "); scanf("%d", &userNum); { if(userNum != x) printf("Hey! I told you to type the number 1 not %d\n\n", userNum); else printf("Thank you for followind my instructions\n\n"); } do { printf("This is the do part"); } while(userNum>1; x--); /*this is it*/ do { printf("ndlfasdf"); } while ( x > 0 ); return 0; }