What we are needing is a program in Python called financialApplication.py to calculate the amount of money earned on a CD based on the user’s inputs.
Suppose you bought a CD for $10,000.00 with an annual percentage yield (APY) of 5.75%.
After one month, the CD is worth: $10000 + $10000 * 5.75% / 12 = $10047.92
After two months, the CD is worth: $10047.92 + 10047.92 * 5.75% / 12 = $ 10096.06
We need to input a program to prompt the user to enter:
CD’s purchase value in dollars
CD’s annual percentage yield in percentage
CD’s investment term in months
Calculate the value of the CD at the end of the CD term.
A test case is provided here. You are required to produce the same UI as shown below.
Enter CD’s purchase value ($): 10000
Enter CD’s annual percentage yield (%): 5.75
Enter CD’s investment term (months): 12
Your CD is worth $10590.40 at the end of the 12 months term
We need to check for valid inputs. For example, negative number is invalid.
Before coding, think how you are going to tackle this problem, and write a brief description of the logic of your program.
INSERT YOUR PROGRAM DESCRIPTION HERE.
TAKE A SCREENSHOT of your inputs and output and paste it here. Make sure you zoom into the inputs and output area. Do not take a screenshot of the whole terminal.