Re: [jkjha] program to convert english numeral to roman numeral
[In reply to]

Can't Post

Please don't post your homework/class assignments here.

If you really want some help try it out yourself, if you get stuck somewhere we would be more than happy to help.

but don't expect any one to write whole code ("program" in your case) for you.

Anyway you first find the total number of digits passed and then process accordingly lets say if the digit passed is 549, count the digits here its 3 so now you process the first digit(u can use switch case) and get the corresponding value. Likewise do it for all the digits and calculate the roman form.

Re: [jkjha] program to convert english numeral to roman numeral
[In reply to]

Can't Post

Jkjha,

maybe you misunderstood the purpose of this forum: This is to help people who are starting with Perl. This means, if you have concrete questions about how a certain Perl construct works, or don't see why your program does not work, you find help here. This means that we need to see at least some code, to be able to discuss it.

I thought your intention is to learn Perl, but it seems that you are not a programmer yourself, but looking for someone to implement your program. This is perfectly fine (actually, I earn my living by doing contract programming), but a forum for offering programming jobs would be more appropriate for this kind of posting.

Re: [jkjha] program to convert english numeral to roman numeral
[In reply to]

Can't Post

Hint: Roman numerals are a base-10 system, the same as decimal. Therefore, for any number, every symbol (digit) in the decimal number has a corresponding symbol in the Roman numeral. The Roman symbol consists of zero to four characters.

Hint: It is easier to determine the decimal place value of each digit if you process the decimal number backwards. Good Luck, Bill