Course Solutions Uncategorized (Solved) : Need Program Java Write Program Convert Roman Numerals Arabic Equivalent Input Requirement Q27450083 . . . .

(Solved) : Need Program Java Write Program Convert Roman Numerals Arabic Equivalent Input Requirement Q27450083 . . . .

 

I need this program in java

Write a program to convert roman numerals into their arabicequivalent.

INPUT REQUIREMENTS

Read one or more roman numerals from standard input. Process oneline at a time. Each input line contains only one roman numeral,starting in column one. Assume the characters are all upper casewith no embedded blanks.

OUTPUT REQUIREMENTS

The arabic equivalent of each input roman numeral is displayedon standard output, starting in column one.

FUNCTIONAL REQUIREMENTS

Here are the arabic equivalents for roman symbols:

The “basic” romansymbols                                The “auxiliary” roman symbols

I        X     C      M                                          V     L      D

1       10     100   1000                                     5     50     500

Convert the roman numeral to arabic processing the symbols fromleft to right according to the following rules:

1.

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post