1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
OleMash [197]
3 years ago
5

How to write a “do while” loop that inputs a num which must be between 10-20. (Pic has all instructions)

Computers and Technology
1 answer:
RideAnS [48]3 years ago
6 0

Answer:

# include <iostream>

using namespace::std;

int main()  

{  

   int num;

   do

   {

       

       cout<<"Enter number:";

       cin>> num;

   } while(num<=20 && num >=10);

   cout<<"You entered out of range";

   return 0;

}

Explanation:

Please find the required program in the answer section. And you should know that a do-while loop is used when we want to make sure that the loop runs for at least one time.

You might be interested in
You receive an email from a woman claiming her father was poisoned by business associates, but before his passing placed 12 mill
inna [77]

Answer:

4-1-9 Fraud this is a global message this is only for Banks in any kind of problem so I advise you to not post questions like this for I understand this type of problem as a CEO in a banking company. (This Message Has been approved by Fellow Enployee members).

Explanation:

6 0
3 years ago
Read 2 more answers
All of the following are typical characteristics of internet predators, except white. male. between the ages of 18 and 35. high
tigry1 [53]
The one that does not belong there is high income.
7 0
3 years ago
what optimizes airflow, keeps cylinder pressure in a certain range, and determines the engine's operating range?
emmainna [20.7K]
If you have choices, then I mut assume that these are following:
A. valve lift
B. push rod
C. intake manifold
D. valve timing. I think the answer is letter A.
6 0
4 years ago
It is ok to sell services on Xbox in exchange for real-world money
Sati [7]
Is this a true or false question? If it is let me know and I can help! (:
6 0
4 years ago
Read 2 more answers
1. __________ indicate a BAL of .10% or higher.
qaws [65]

BAL means Blood Alcoholic level. It’s the stage of “euphoric”. 10% indicates that 1/10 of the person blood contains alcohol. This rate will be higher for the chain drinker since the drinks contains more alcohol which spoils the health. It starts affecting the motor skill development. People often shout and speak with a louder voice and also they start forgetting many items.

People even become more emotional. People in this stage won’t even remember how many glasses of alcohol has been taken in a particular moment.

4 0
3 years ago
Other questions:
  • Under the class system, how many host ids were available in a class b network?
    7·1 answer
  • You have just made changes to a GPO that you want to take effect as soon as possible on several user and computer accounts in th
    7·1 answer
  • In their legacy system. Universal Containers has a monthly accounts receivable report that compiles data from Accounts, Contacts
    6·1 answer
  • To delete a row, you must first
    11·1 answer
  • Regular languages are closed under complement. True False
    7·1 answer
  • What will you see on the next line?
    6·2 answers
  • Which of the following is NOT a font style? Color Bold Italic Regular
    10·2 answers
  • Việc áp dụng khai báo hải quan điện tử có áp dụng chữ ký số, đem lại những lợi ích gì
    10·1 answer
  • Examples of structures that can store homogeneous data element​
    14·1 answer
  • Whats the overall mood of the song Rags2Riches by rod wave
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!