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
MA_775_DIABLO [31]
4 years ago
4

Write a do-while loop that repeatedly prompts for and takes input until a value in the range 0 through 15 inclusive is input. In

clude code that prevents the loop from executing forever on input of a wrong data type
Computers and Technology
1 answer:
polet [3.4K]4 years ago
7 0

Answer:

#include <iostream>

using namespace std;

int main (){

int num=0;

cin>>num;

do{

cout<<num;

cin>>num;

}while(num>=0 && num<=15)

return 0;

}

Explanation:

You might be interested in
What is computer forensics? Where and how would an IT auditor use thisresource?
riadik2000 [5.3K]

Answer:

Learning how to acquire

Explanation:

4 0
2 years ago
Hi wanna play fortnite tomorrow add me im batjoker09 no caps or spaces
3241004551 [841]

Answer:

ok

Explanation:

3 0
3 years ago
Write a statement that calls a function named IncreaseItemQty, passing the variable addStock. Assign mugInfo with the value retu
PolarNik [594]

Answer:

Explanation:

#include <stdio.h>

#include <string.h>

typedef struct ProductInfo_struct {

char itemName[30];

int itemQty;

} ProductInfo;

ProductInfo IncreaseItemQty (ProductInfo productToStock, int increaseValue) {

productToStock.itemQty = productToStock.itemQty + increaseValue;

return productToStock;

}

int main(void) {

ProductInfo mugInfo;

int addStock;

addStock = 10;

scanf("%s", mugInfo.itemName);

scanf("%d", &mugInfo.itemQty);

**** /* Your solution goes here */ ****

printf("Name: %s, stock: %d\n", mugInfo.itemName, mugInfo.itemQty);

return 0;

}

8 0
3 years ago
What medical equipment do they have in Jr. high, To help save peoples lives?
lawyer [7]

Vital signs monitors, Electronic Medical Records (EMR), and Medication Management Systems.

5 0
3 years ago
Which of the following is not expected of employees' oral communication skills in the workplace? Communicate clearly Use appropr
Paladinen [302]

Answer:

The skill that is not expected of employees' oral communication skills in the workplace is:

Be able to write well

Explanation:

The reason behind this answer is: we are analyzing oral communication skills. Writing is not in oral communication skills. Therefore it is not expected as an employee oral communication skill in the workplace. Also, Communicate clearly is expected in the workplace, use appropriate language is expected in the workplace as formality is desired, and finally communicating under the laws and regulations of the organization is also expected.

4 0
3 years ago
Other questions:
  • Define scanning and why it’s considered one of the most important phases of intelligence gathering for an attacker. Also discuss
    10·1 answer
  • According to the article words have the power to change people's behavior. Describe one example of this from the article
    6·1 answer
  • With ______________, the cloud provider manages the hardware including servers, storage, and networking components. The organiza
    6·1 answer
  • Assume that two parallel arrays have been declared and initialized: healthOption an array of type char that contains letter code
    13·1 answer
  • Discuss whether the redundant data should be addressed prior to beginning the wireless network architecture project, in coordina
    11·1 answer
  • Children's Web sites may combine educational and entertaining information and activities with interactive advertising and direct
    5·2 answers
  • Can you help me in this question
    13·1 answer
  • What is computer system<br>explain the role of bank in computer<br>​
    15·2 answers
  • Please please help I don’t understand this
    7·2 answers
  • 10. Site-to-Site VPN architecture is also known as
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!