881

[Pre-Interview code test] Roman numerals

Iaca un cunoscut vre sa ma amageasca sa trec la dansii in cantora si eu la randul meu cutoate ca sunt multumit de locul curent icerc sa vad daca ii ceva mai intersenat si mai remunerat.Adica o fac for fun la moment.Si iaca miau dat un test de coding:------------------------------------------------------------------------------------------------------------Implement a program which can take an integer and convert it into a Roman Numeral string. e.g. 1 = "I"5 = "V"19 = "XIX"101 = "CI"The function should be capable of converting every number between 1 and 3999.Notes:- You may use any of the following languages in implementing your solution: Java 1.5, C, C++ or C#- Extra credit given for elegance and neatness in code, acceptance tests, etc.- Comments are not necessary.- Please provide instructions on how to run the code------------------------------------------------------------------------------------------------------------Eu lam implementat in C/C++ + un simplu acceptance test.Panacnd va dau posibilitate sa va expuneti parerile sau chiar si solutiile, u pun me amea mai tarziu putin, ca sa puteti arunca ceva pietre in mine.
0