Question

Python Question A bank charges a base fee of $10 per month plus the following check...

Python Question

A bank charges a base fee of $10 per month plus the following check fees for a commercial checking account:

$.10 each for less than 20 checks

$.08 each for 20 to 29 checks

$.06 each for 40 to 59 checks

$.04 each for 60 or more checks

Write a program that asks for the number of checks per month (integer) and displays the fee for the month.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

checks= int(input("HOW MANY CHECKS HAVE YOU WRITTEN?"))
if checks < 20:
   fee=0.10*checks+10
if checks <=29 and checks >=20:
   fee = .08 * checks + 10
if checks <=59 and checks >=40:
   fee = .06 * checks + 10
if checks>=60:
   fee = .04 * checks + 10
print( "Bank Service charges for the month is ",fee," Dollars ")


#first we defined a variable checks to take input of how many checks are written in a month
#then we check the various conditions as in which feild number of checks lies
#after that we calculate the montlhy fee according to the rate given in the question
#finally we print the monthly fee

Add a comment
Know the answer?
Add Answer to:
Python Question A bank charges a base fee of $10 per month plus the following check...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Java Bank program A bank charges a base fee of $10 per month, plus the following...

    Java Bank program A bank charges a base fee of $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 asks for the number of checks written for the month. The program should then calculate and display the bank’s service fees for the month.

  • C++ A bank charges $10 per month plus the following check fees for a commercial checking...

    C++ A bank charges $10 per month plus the following check fees for a commercial checking account: $.10 each for fewer than 20 checks $.08 each for 20-39 checks $.06 each for 40-59 checks $.04 each for 60 or more checks The bank also charges an extra $15 if the balance of the account falls below $400 (before any check fees are applied). Write a program that asks for the beginning balance and the number of checks written. Compute and...

  • Must be written in C++ Bank Charges A bank charges $15 per month plus the following...

    Must be written in C++ Bank Charges A bank charges $15 per month plus the following check fees for a commercial checking account: $0.10 per check each for fewer than 20 checks (1-19) $0.08 each for 20–39 checks $0.06 each for 40–59 checks $0.04 each for 60 or more checks Write a program that asks for the number of checks written during the past month, then computes and displays the bank’s fees for the month. Input Validation: Display an error...

  • Using Python write a code for Function 1: A bank charges $10 per month plus the...

    Using Python write a code for Function 1: A bank charges $10 per month plus the following check fees for a commercial checking account: a. $0.10 each for 1-19 checks b. $0.08 each for 20-39 checks c. $0.06 each for 40-59 checks d. $0.04 each for 60 or more checks. (Note that the same fee is charged for all checks. If the customer writes 21 checks, all 21 checks are billed at the $0.08 rate.) The bank also charges an...

  • Must be written in C++ Bank Charges A bank charges $15 per month plus the following...

    Must be written in C++ Bank Charges A bank charges $15 per month plus the following check fees for a commercial checking account: $0.10 per check each for fewer than 20 checks (1-19) $0.08 each for 20–39 checks $0.06 each for 40–59 checks $0.04 each for 60 or more checks Write a program that asks for the number of checks written during the past month, then computes and displays the bank’s fees for the month. Input Validation: Display an error...

  • Im opening a corporate bank account. Bank A charges a fixed monthly fee of $120 plus...

    Im opening a corporate bank account. Bank A charges a fixed monthly fee of $120 plus 10 cents per check written. Bank B charges a fixed monthly fee of $100 plus 14 cents per check written. (a). Sketch the graphs of the functions A(x) and B(x) which represents the monthly cost of banking at the two banks, where x is the number of checks written in the month. Label the y-axis intercepts and find the coordinates of the point where...

  • 1. Creatc a lava program thal asks the user to cnter his/her first name and last...

    1. Creatc a lava program thal asks the user to cnter his/her first name and last namc, in a single linc and separaled by a spacc. The program should output separately the first namc and the last name. (Use the Scanner class.) 2. Create a Java program thal asks the user for a medium (air, water or sleel), and outputs the speed of sound in thal medium (1 100 feclsec in air, 4900 feesec in water and 16,400 feet sec...

  • Answer Point Value Points Earned American Credit Union First National Bank Hillsboro Bank Internet Bank ATM...

    Answer Point Value Points Earned American Credit Union First National Bank Hillsboro Bank Internet Bank ATM Charges Home bank Free Free Free Free $1 4 free then $2 per use $3 $500 $200 $5 $6 Use of service at competitor's bank Checking Account Minimum balance required to avoid fees $400 $250 Monthly Maintenance Fee $13 7 free checks, then $1 per Per Check Processing Fees Unlimited check 1. Selecting a Bank. Sean wants to open a checking account with $275....

  • Python Language 3. Shipping Charges The Fast Freight Shipping Company charges the following rates (per 500...

    Python Language 3. Shipping Charges The Fast Freight Shipping Company charges the following rates (per 500 miles shipped): 1. Number Guessing Game Write a program for players to guess the number that the program randomly generated. Your program should randomly generate an integer between 1 and 10. After a player guessing a number, your program should display "Too small", "Too large", or "That's it!". Weight of Package (in Kilograms) 2 kg or less Over 2 kg but not more than...

  • 2. (1o Points) Identify cach of the following tems I through 10 as cither (A) cash...

    2. (1o Points) Identify cach of the following tems I through 10 as cither (A) cash or (B) cash equivalent 1. Coins 2. Petty cash 3. Three-month certificate of deposit 4. Commercial paper 5. Currency 6. Certified check 7. Cashier's check 8. Money market accounts 9. Money orders 10. U.S. treasury bills 3. (10 points) Identify whether each of the following items 1 through 10 would on appear on the bank side or the book side of a bank reconciliation....

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT