C Program To Convert Year To Roman Equivalent
Satish B
https://technotip.com/7861/c-program-to-convert-decimal-to-roman-equivalent/
Write a general-purpose function to convert any given year into its Roman equivalent. Use these Roman equivalents for decimal numbers:
1 - i, 5 - v, 10 - x, 50 - l, 100 - c, 500 - d, 1000 - m.
Example: Roman equivalent of 1988 is mdcccclxxxviii. Roman equivalent of 1525 is mdxxv.
Expected Input and Output of the C program Output 1: Input the year to get its Roman Equivalent 1988 mdcccclxxxviii
Output 2: Input the year to get its Roman Equivalent 1525 mdxxv
Output 3: Input the year to get its Roman Equivalent 2500 mmd
Output 4: Input the year to get its Roman Equivalent 2020 mmxx
Output 5: Input the year to get its Roman Equivalent 2021 mmxxi
C Programming Interview / Viva Q&A List https://technotip.com/6378/c-programming-interview-viva-qa-list/
C Programming: Beginner To Advance To Expert https://technotip.com/6086/c-programming-beginner-to-advance-to-expert/ ... https://www.youtube.com/watch?v=oocEj-8u4o8
17896199 Bytes