C Program to Convert Decimal to Roman

Problem: Write a program to convert decimal number into its roman equivalent.

Solution:
1. Accept a decimal number as input.
2. Check if the number is greater than any of these 1000 or 900 or 500 or 400 or 100 or 90 or 50 or 40 or 10 or 9 or 5 or 4 or 1.
3. If it is greater then store its equivalent roman number in a array.
4. Repeat the step 2-3 with the left over number.

C Program: Get This Program: