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
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-47576.pdf
Comments
Leave a comment