Question: Restart your subscription to keep accessing solutions. Your Chegg Study subscription will expire on November 15, 2017. CONTINUE MY SUBSCRIPTION home / study / engineering

Restart your subscription to keep accessing solutions. Your Chegg Study subscription will expire on November 15, 2017. CONTINUE MY SUBSCRIPTION

home / study / engineering / computer science / computer science questions and answers / python 3.6- create an algorithm in a stand alone file. create a program that will accept a ...

Question: Python 3.6- Create an algorithm in a stand alone file. Create a program that will accept a Roman ...

(2 bookmarks)

Python 3.6- Create an algorithm in a stand alone file.

Create a program that will accept a Roman numeral input from keyboard and return to the screen its numeric value. The following roman numeral system a user can input:

The following Roman numerals, with their Arabic equivalents, must be handled: I =1 ;X =10 ;D= 500 ; V=5; L = 50; M = 1000; C = 100

The program does not have to anticipate or handle subtractive prefixes.

All inputs will be in the range [1, ..., 500]. The program does not have to handle a zero, and it does not have to work with Roman numerals larger than 1,000.

Cear instruction to the user must be given both before input is made and when the Roman numeral has been translated to a decimal value. After the user has entered a Roman numeral and been given its value (in decimal), the user should be given an opportunity to run more samples.

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 Databases Questions!