Question #47576

7. Write a program that accepts an ordinary number and outputs its equivalent Roman numerals. The ordinary numbers and their equivalent Roman numerals are given below:
Ordinary Numbers Roman Numerals
1 I
5 V
10 X
50 L
100 C
500 D
1000 M
Sample input/output dialogue:
Enter a number: 2968
Output: MMCMLXVIII
In Switch Case

Expert's answer

## Comments

## Leave a comment