Conversion of decimal to roman using C

In the previous post you learned to use for loop and do…while loop in program with the example for printing prime numbers. In this example, I will show you the use of while loop and if…else ladder. This program converts the decimal input to corresponding roman output. It seems difficult first time but once you have seen code it will be very easy to you. This program only converts number between 1 and 3000. Complete source code and output is given here.

Source Code

 

Output

 

roman

SHARE Conversion of decimal to roman using C

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

Share