Design a flowchart and a program for the following algorithm:input from the clerk the name of the customer, the current balance, and the amount of thedeposit. Calculate a total which equals current balance plus the amount of the deposit.Use “if/elif” to carry out the following steps:* If the total amount is greater than $50,000, print an interest rate of 5% and the new totalafter the interest rate is applied.• If the total is not greater than $50,000 but is greater than $10,000, print an interest rate of2% and the new total after the interest rate is applied.• Otherwise print an interest rate of 1% and the new total after the interest rate is applied.2.a Create the flowchart that describes the program:2.b. Write the program code2.c Test the logic by running the program 3 times, using totals that yield each of the three interestrates.Include in your HW PDF document screen shots of your flowchart and your program code file. Alsoinclude a screen shot of the output of your testing of the logic.
Design a flowchart and a program for the following algorithm:
input from the clerk the name of the customer, the current balance, and the amount of the
deposit. Calculate a total which equals current balance plus the amount of the deposit.
Use “if/elif” to carry out the following steps:
* If the total amount is greater than $50,000, print an interest rate of 5% and the new total
after the interest rate is applied.
• If the total is not greater than $50,000 but is greater than $10,000, print an interest rate of
2% and the new total after the interest rate is applied.
• Otherwise print an interest rate of 1% and the new total after the interest rate is applied.
2.a Create the flowchart that describes the program:
2.b. Write the program code
2.c Test the logic by running the program 3 times, using totals that yield each of the three interest
rates.
Include in your HW PDF document screen shots of your flowchart and your program code file. Also
include a screen shot of the output of your testing of the logic.
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 5 images