Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part A) A bank charges $8 per month plus the following fees: Check fee Number of checks $.09 each Fewer than 20 checks $.07 each

Part A) A bank charges $8 per month plus the following fees:

Check fee Number of checks
$.09 each Fewer than 20 checks
$.07 each 20-39 checks
$.06 each 40-59 checks
$.05 each 60 or more checks

The program should ask the user for the number of checks and compute and display the total fee.

Part B) Ask for total amount for an online shopping order and calculate the shipping cost based on the following table. Also, calculate the total cost (order amount + shipping cost). Of course, one must also ask for the destination location (within USA or Canada). If the total input order is 0 or less or it is more than $10,000, display an error message and do not perform any calculation. Issue an error message, if the destination is not one of USA or Canada. Make sure to format the amount of shipping cost to 2 digits after the decimal point.

Order Total Ship Amount within USA Ship to Canada
0 to less than $50 $6 $8
$50 to less than $100 $9 $12
$100 to less than $150 $12 $15
$150 or more 0 0

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Contemporary Issues In Accounting Regulation

Authors: Stuart McLeay, Angelo Riccaboni

1st Edition

1461370736, 978-1461370734

Students also viewed these Databases questions

Question

Explain the causes of indiscipline.

Answered: 1 week ago