Question: Write a python program that will interpret pseudo - English statements describing an amount of money in coins and convert them into a dollar amount.

Write a python program that will interpret pseudo-English statements describing an amount of money in coins and convert them into a dollar amount.
Input
Each sentence will follow the standard rules of English grammar, the only exception being the omission of the ending punctuation. The format of a sentence will consist of a quantity and a denomination. The quantity will always be a numeral and the denomination will always be a word.
Output
Each output should be an amount listed in dollars

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