Question: This homework has two parts. The first is about using math operations. The second is about working with functions. Part 1 : Making Historic Change
This homework has two parts. The first is about using math operations. The
second is about working with functions.
Part : Making Historic Change
During the Roman Imperial Period from BC until AD the following coins
were used. The base unit of currency was the As All other coins are mesaured
relative to each other.
Name Relative Value
Quadrans a Semis
Semis an As
As Base Unit
Dupondius Asses
Sestertius Dupondii
Quinarius Sesterii
Denarius Quinarii
Antoninianus Denarii
Gold Quinarius Quinarii
Aureus Denarii
Write a program that takes as input the number of Quadrans a person has in
their account. This number is always an integer because there is no smaller
currency than the Quadrans. Then print out the minimal number of coins that
can be used to represent this amount. Start with the largest value currency and
work down to the smallest.
For example, if the user has Quadrans, this is Dupondius and As
Part : Example
Enter Number of Quadrans:
Aureus:
Gold Quinarius:
Antoninianus:
Denarius:
Quinarius:
Sestertius:
Dupondius:
As:
Semis:
Quadrans:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
