Question: For this lab you will do 2 things: Solve the problem using pseudocode Code it in Python When you are finished, submit both your pseudocode
For this lab you will do 2 things:
- Solve the problem using pseudocode
- Code it in Python
When you are finished, submit both your pseudocode and your program code. Use MS Word to write your pseudocode, paying attention to comments and the indentation of code blocks. When done, save the file as a PDF. Your source code, written using Python, will produce a *.py file. Upload both the *.pdf and the *.py file (at the same time).
Bank Charges
A bank charges $10 per month plus the following check fees for a commercial checking account:
$.10 each for less than 20 checks
$.08 each for 20 - 39 checks
$.06 each for 40 - 59 checks
$.04 each for 60 or more checks
Write a program that prompts the user for the number of checks written for a month, then compute and display the bank's total service fees for the month. Make sure the output displays with a $ and 2 decimal places.
This program MUST use a decision structure.

*I know the answer isn't right. I would like to know what I did wrong. Thank you in advance!*
IDLE Shell 3.9.1 - File Edit Shell Debug Options Window Help Python 3.9.1 (tags/v3.9.1:1e5d33e, Dec 7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license ()" for more information. A lab 5v2.py - C:/Users/Dante/AppData/Local/Programs/Python/Python39/lab 5v2.py (3.9.1) File Edit Format Run Options Window Help Step 6 - Calculate and display the total Step 7 - End def main(): == RESTART: C:/Users/Dante/AppData/Local/Programs/Python/Python39/lab 5 v2.py == Welcome to my program! In this program, I will ask the user to input the number of checks written in a month I will the calculate the banks $10 charge alongside the checking fee total service for the month After that we will be conducting this program with 'If' statments to make it a decision structure program To conclude, we will then calculate and display the total on the screen! Please input the number of checks that were written this month: -10 Error *** count cannot be negative*** Please input the number of checks that were written this month: 42 Total Service Fees for this month is $9.00 >>> #Intoduction print (" Welcome to my program!") print (" In this program, I will ask the user to input the number of checks written in a month") print (" I will the calculate the banks $10 charge alongside the checking fee total service for the month ") print (" After that we will be conducting this program with 'If' statments to make it a decision structure program") print (" To conclude, we will then calculate and display the total on the screen!") #Variables Bank_Charges = 10.00 Checks = int() Total_Service_Fees = float() #Input With Decision structure while True: Checks = int(input(" Please input the number of checks that were written this month: ")) if Checks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
