1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
In-s [12.5K]
3 years ago
6

5. An ATM allows a customer to withdraw a maximum of $400. If the customer withdraws more than $200, the service charge is 3% of

only the amount over $200. If the customer does not have sufficient money in the account, the ATM informs the customer about the insufficient funds and gives the customer the option to withdraw the money for a service charge of $30.
Business
1 answer:
tankabanditka [31]3 years ago
4 0

Answer:

//algorithm for ATM money withdrawal

Algorithm: Algorithm for cash withdrawals from ATM.

Input: withdraw_amount

Output: amount+service_charges.

Algorithm:

step 1:

  balance =account balance.

  withdraw_amount = (Get input from user)

 

step 2:

  if(withdraw_amount>400)

      then, print "maximum limit exceeds"

 

step 3:

  if(withdraw_amout<1)

      then, print "enter a valid amount"

 

 

step 4:

  if(withdraw_amount>balance)

      then, print "insufficient balance.. withdraw money $30 as service charges "

 

 

step 5:

  if(withdraw_amount<400 && withdraw_amount<balance)

      if(withdraw_amount>200)

          service_charge=withdraw_amount*(3/100)

          print " Your cash is dispensed... total amount withdrawn +service_charges 30% (withdraw_amount +service_charge) "

You might be interested in
DESCRIPTION OF THE LAW OF DEMAND
slamgirl [31]

Answer:

The law of demand states that quantity purchased varies inversely with price. In other words, the higher the price, the lower the quantity demanded

7 0
2 years ago
Ultimately your business offers a
Readme [11.4K]
Usually a product or a service to the surrounding community or communities
5 0
3 years ago
Bricktown Exchange purchases a copyright for $50,000. The copyright has a remaining legal life of 25 years, but only an expected
son4ous [18]

Answer:

Correct option is (D)

Explanation:

Given:

Purchase price of copyright = $50,000

Expected useful life = 5 years

Annual depreciation expense as per straight line method:

= Purchase price ÷ useful life

= 50,000 ÷ 5

= $10,000

Only useful life is considered and not legal life.

Carrying value of asset at the end of year = Book value of asset - annual depreciation

Carrying value of copyright at then end of first year = 50,000 - 10,000 = $40,000

Carrying value of copyright at then end of second year = 40,000 - 10,000 = $30,000

5 0
3 years ago
In 2019, Sheryl is claimed as a dependent on her parents' tax return. Sheryl did not provide more than half her own support. Wha
yan [13]

Answer:

Total tax ( Sheryl ) = $802

Explanation:

Tax status of Sheryl = Single

The rates to be used are

  • Tax rate = 10%  for single taxpayers with income between $0 through $9700
  • Tax for income from estates that is between $2600 through $9300 will be $260 + 24% of excess over $2600

kiddie tax is applicable on earned income above $2200 ( defined by IRS )

attached below is a  detailed table

7 0
3 years ago
Commission merchants are __________ who receive goods, primarily agricultural products, on consignment.
valina [46]

Answer:

Dealers

Explanation:

4 0
3 years ago
Other questions:
  • Wildhorse Company accumulates the following data concerning a mixed cost, using miles as the activity level. Miles Driven Total
    13·1 answer
  • If a check correctly written and paid by the bank for $936 is incorrectly recorded in the company's books for $963, how should t
    9·1 answer
  • Suppose apple trees generate a positive externality in production. if​ so, then
    7·1 answer
  • Use the midpoint formula to answer this question. Suppose that as the price of Y falls from $2.00 to $1.90, the quantity of Y de
    8·1 answer
  • The discounted payback period for a project will be _______ the payback period for the project given a positive, non-zero discou
    9·1 answer
  • Mid- and long-term goals are less likely to require adjustments than short-term goals.
    8·1 answer
  • Limitation of scientific management ​
    9·1 answer
  • Account which shows gross profit or gross loss of the business is called​
    7·1 answer
  • A company invests $40,000 in a project with the following net cash flows: Year 1: $3,000 Year 2: $8,000 Year 3: $14,000 Year 4:
    7·1 answer
  • Prior to the closing, one final inspection should take place. This is also known as the final what?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!