![dele53](/avatars/44756.jpg)
dele53
31.08.2019 •
Computers and Technology
Write a do-while loop that continues to prompt a user to enter a number less than 100, until the entered number is actually less than 100. end each prompt with newline. ex: for the user input 123, 395, 25, the expected output is: enter a number (< 100: enter a number (< 100: enter a number (< 100: your number < 100 is: 25
Solved
Show answers
More tips
- F Food and Cooking How to Make Polendwitsa at Home?...
- F Family and Home Parents or Environment: Who Has the Most Influence on a Child s Upbringing?...
- P Philosophy Unbelievable stories of encounters with otherworldly forces...
- L Leisure and Entertainment How to Choose the Perfect Gift for Men on February 23rd?...
- H Health and Medicine How to Treat Whooping Cough in Children?...
- H Health and Medicine Simple Ways to Lower Cholesterol in the Blood: Tips and Tricks...
- O Other How to Choose the Best Answer to Your Question on The Grand Question ?...
- L Leisure and Entertainment History of International Women s Day: When Did the Celebration of March 8th Begin?...
- S Style and Beauty Intimate Haircut: The Reasons, Popularity, and Risks...
- A Art and Culture When Will Eurovision 2011 Take Place?...
Answers on questions: Computers and Technology
- C Computers and Technology What is the most important thing you should avoid files and folders?...
- C Computers and Technology M5 Activity 1.1 Cross Word Puzzle Congratulational At last you explored the different computer peripherals devices. Let us proceed to your next activity which is the puzzle. In the...
- C Computers and Technology 5 operating systems from the best to the worst and why. I ll give brainliest fr...
- M Mathematics Two-thirds times Ten......
- M Mathematics Write ✓-49 as an imaginary number using i....
- B Biology Which of the following is the study of biological bases of social behavior...
- M Mathematics Hunter started with the following model to show the problem 1.45 + 5. To complete the division model of 1.45 5, how many hundredths would there be in each of the division groups?...
- C Chemistry 6. Which statement is true about scientific debates? O A. Debates are of no use in science because they do not use scientific evidence. B. Debates always are able to resolve the problem....
- M Mathematics What is the answer for 34-54x...
- M Mathematics This is me a few months a go...
Ответ:
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.
Ответ:
When I was thirteen years old, we left our hometown for the last time. I was forced to start high school in a strange place. It was hard, but I learned that being thrown into a new environment can be great.
Explanation:
It eez what it eez