Question: Task 1A Write a Little Monkey Computer program that converts a Monkey number into a number using the base-10 number system. The Monkey number system

Task 1A Write a Little Monkey Computer program
Task 1A Write a Little Monkey Computer program that converts a Monkey number into a number using the base-10 number system. The Monkey number system is similar to the Roman number system, however, it has some exceptions and some limitations. You must display the result as output before halting the program. For example, the Monkey number CXI is 111, and XXXVI is 36. Roman numeral Natural number L | C 100 D 500 Your program only needs to support the Monkey numerals listed in the table above. Your program will only be able to calculate a natural number up to and including 999. If the user enters a Monkey numeral which exceeds this, the output is to be 999. Six (6) input values are provided by the user, the order of input is important: The rst input is the number of D's that the Monkey numeral contains. The second input is the number of Ce that the Monkey numeral contains. The last input is the number of 1's that the Monkey numeral contains. For example, ifthe user provides the inputs 0, 0, O, 1, 2, 2 then this will be the equivalent of XVVII

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!