Congratulations. After successfully introducing graduated pricing and paying off the nobles with your automatic discount system you business is growing by leaps and bounds. You decide to get into currency exchange, or "money changing".

To do this, you have have to be able to convert currency from one denomination to another denomination. Roman currency is denominated in Sisterci, Dinari, and Aureus.

20 dinari = 1 Aureus
5 Sisterci = 1 dinari

After you compute the conversion, you will need to calculate your commission. The commission is 3% of the amount exchanged. The commission is always charged in sisterci.

You will need to introduce 2 sets of radio button controls to your program. The first set of radio button controls will define what denomination you are inputting: dinari, aureus, or sistercius. The second set of radio buttons will specify what denomination you want the answer in. For example The user enters 10 dinari and wants his money converted to sisterci. 10 dinary * 5 = 50 sisterci.

You will need to learn how to use the radio button control for this assignment. You will also need this form of the

if
-
then
-
else:
If (condition) then
-----
Else if (condition)
-----
Else if (condition)
-----
Else

The boolean operator "and" will also be useful.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.