Conver the given year to Roman Numerals using Functions.
Write a general-purpose function to convert any given year into its roman equivalent. The following table shows the roman equivalents of decimal numbers: Decimal:........Roman 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 This program is a big lengthy owing to the use of Case Statements. This program can also be rewritten using Arrays, which will reduce the length considerably. #include <stdio.h> main ( ) { int year ; int convert ( int year ) ; { printf ( "Note:Enter a four year digit year. \n \n " ) ; printf ( "Enter the year that you wanna convert to Roman: " ) ; scanf ( "%d" , & year ) ; if ( year > 1999 ) { printf ( "Invalid Year.Please enter again. \n \n " ) ; } } convert ( year ) ; } convert ( int year ) { ...