write a general purpose function to convert any given year into its roman equivalent . the following table shows the roman equivalent of decimals number
decimal roman
1 i
5 v
10 x
50 l
100 c
500 d
1000 m
eg:- roman equivalen of 1988 = mdcccclxxxviii
---||-- ----||----- of 1525 = mdxxv