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
yawa3891 [41]
3 years ago
9

Write a program that asks the user to enter a number within the range of 1 through 10. Use a switch statement to display the Rom

an numeral version of that number. Input Validation: Do not accept a number less than 1 or greater than 10. Prompts And Output Labels. Use the following prompt for input: "Enter a number in the range of 1 - 10: ". The output of the program should be just a Roman numeral, such as VII.
Computers and Technology
1 answer:
ELEN [110]3 years ago
8 0

cout<<"Enter a number in the range of 1 - 10 ";

cin>>num;

// check if the input is valid

if(num<0 || num > 10)

cout<<"Invalid Number"

// checking for appropriate output

switch(num){

case 1:

cout<< "|";

case 2:

cout<< "||";

case 3:

cout<< "|||";

case 4:

cout<< "|V";

case 5:

cout<< "V";

case 6:

cout<< "V|";

case 7:

cout<< "V||";

case 8:

cout<< "V|||";

case 9:

cout<< "|X";

case 10:

cout<< "X";

default :

cout<<" Nothing found";

}

You might be interested in
___________ poses the greatest risk to workers because it is more common and more easily transmitted than other bloodborne disea
Evgesh-ka [11]

Answer: Hepatitis

Explanation: According to the center for disease control and prevention (CDC) HIV, hepatitis B and Hepatitis C are the most common bloodborne pathogens which workers are more susceptible to contract. According to CDC's the estimated risk of an HIV infection is 0.3 percent, 1 from 300 people. Hepatitis B has from 6 to 30 percent causing serious liver damage. And Hepatitis C has a risk between 2 and 4 percent

3 0
2 years ago
In the context of databases, the term data redundancy refers to: a. storing the same information in several records b. repeating
AleksandrR [38]

Answer:

d. all of these are possible examples of data redundancy

Explanation:

Redundancy in database management systems (DBMS) is having the same data in more than one place.

If you look at the options, you will see all of them have situation that repeatation of the data.

a. storing the same information in several records

b. repeating data on multiple reports

c. using foreign keys which duplicate the values of primary keys

5 0
4 years ago
_______ is used to transmit high-bandwidth digital data over telephone lines.
slava [35]

A DSL is used to transmit high-bandwidth digital data over telephone lines.

<h3>What device is used to transmit data over telephone line?</h3>

DSL is known to be a kind of a technology that is made for high-speed network or is one that is used via Internet access over voice lines.

Therefore, A DSL is used to transmit high-bandwidth digital data over telephone lines.

Learn more about modem from

brainly.com/question/7320816

#SPJ11

7 0
2 years ago
Components of a video controller include display generator circuitry, software stored in rom, a video processor, and ____.
Basile [38]
<span>A display monitor. These are more commonly called video card or graphics card now. It's designed to put images on the screen by translating binary into graphics we see on the screen. When they were called video controller, it was integrated into the motherboard itself.</span>
8 0
3 years ago
The angles of a quadrilateral are in the ratio 1:2:3:4 what is the largest angle​
zheka24 [161]

Answer:

144°

Explanation:

The sum of the measures of interior angles of a quadrilateral is 360°

The ratio of angle measures is 1:2:3:4

Total ratio = 1+2+3+4=10

The angles will be :

1/10 * 360°= 36°

2/10*360°=72°

3/10*360°=108°

4/10*360°=144°

The largest angle is 144°

7 0
3 years ago
Other questions:
  • Gerry used html for her website. which best describes html
    15·1 answer
  • When you first turn on a computer and you donât hear a spinning drive or fan or see indicator lights, is the problem hardware or
    11·1 answer
  • Gary frequently types his class assignment. His ring automatically types the letter O. What is Gary using when he types?
    10·2 answers
  • A _____ is inserted so that a portion of a document that can have different formatting from the rest of the document. a. heading
    9·1 answer
  • What is jcl language on the mainframe?
    10·1 answer
  • Edmentum Plato Course - Learning in A Digital World: Strategies for Success
    5·1 answer
  • Write method reverseString, which takes a string str and returns a new string with the characters in str in reverse order. For e
    8·1 answer
  • What is the purpose of exploring data?
    6·2 answers
  • Heeeeeeeeeeeeeeeeeeelp plz
    11·1 answer
  • What is the error in this program?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!