Question: Create a Roman Numeral generator in C++. You must ask the user for a 3 digit number and then output the correct corresponding Roman Numeral.

Create a Roman Numeral generator in C++. You must ask the user for a 3 digit number and then output the correct corresponding Roman Numeral. An example output would look like this:

Enter a 3 digit number: 214

215 as a Roman Numeral is: CCXIV

Cannot use loops.

Please switch or if/else.

Roman Numeral symbols needed to solve this problem.

Number

Roman Numeral

1

I

4

IV

5

V

9

IX

10

X

40

XL

50

L

90

XC

100

C

400

CD

500

D

900

CM

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!