I need to create a program where given an integer n (input from the user), the program determines the equivalent of n in the roman numeral system. The user will provide a value of n greater than 0 and less than 4000.
the solution must use
* 1 or 2 loops at most
* 1, 2, 3 or 4 switch instructions at most, and each switch can have up to 5 cases, including the default case
* less than 11 if statements
* no strings!!
I used this code however there are too many loops and if statements how could i reduce it to fit the requirements
thank you