int choose;
scanf("%d", &choose);
while((choose != 0) || (choose != 1)){
printf("Try againn");
scanf("%d", &choose);
}
Not able to come out of while loop even after pressing 1 or 0
submitted by /u/knightbish0p
[link] [comments]
Go to Source of this post
Author Of this post: /u/knightbish0p
Title Of post: While loop exit problem
Author Link: {authorlink}
More Stories
How to create a 2D array from a .csv file?
Printing Array In JavaScript
How To Improve Web Development Skills?