Here's a solution in plain C:
int num;
do { printf("enter a number (<100)\n"); scanf_s("%d", &num, sizeof(num)); } while (num >= 100);
printf("your number <100 is %d", num);
Note that this solution has flaws. It is unclear what should happen when the user types a negative number or a floating point number. Also it doesn't handle incorrect input (e.g., "aaa") at all.
But you get the idea.
The correct answer is Boolean logic.
Booleans are true or false statements.
An example of a while loop is:
while 1 < 5:
#do something.
The Boolean statement is 1 < 5 which evaluates to true because 1 is less than 5.
I hope this helps!
Answer:
no? lol, sorry but what is that?