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
Sholpan [36]
3 years ago
6

An internet service provider has three different subscription package for its customers:Package A: For $9.95 per month 10 hours

of access are provided. Additional hours are $2.00 per hour.Package B: For $13.95 per month 20 hours of access are provided. Additional hours are $1.00 per hour.Package C: For $19.95 per month unlimited access is provided.Write a program that calculates acustomer's monthly bill. It should ask the user to enter the letter of the package the customer has purchased (A,B,C) and the number of hours that were used.It should then display the total charges. In addition calculate and display the amount of money Package A customers would save if they purchases Package B or C, and the amount of money package B customers would save if they purchased Package C. If there would be no savings, no message should be printed.
Business
1 answer:
dimaraw [331]3 years ago
7 0

Answer:

# The user is prompt for input to enter type of package

# the received input is capitalize

selected_package = str(input("Enter the package that you purchased.")).capitalize()

# The user is prompt for input to enter number of hours

hours_used = int(input("Enter the hours that you use for the purchased package."))

# Basic price for package a

base_price_package_a = 9.95

# Basic price for package b

base_price_package_b = 13.95

# Basic price for package c

base_price_package_c = 19.95

# additional price for package a

additional_price_a = 2

# additional price for package b

additional_price_b = 1

# total charge for the entire internet consumption

total_charges = 0

# if user entered A

if(selected_package == str('A')):

   # additionail hour is calculated

   extra_hour = hours_used - 10

   # total_charge is calculated for package a

   total_charges = base_price_package_a + (extra_hour * additional_price_a)

   # total charge for package a is displayed

   print("Your total charges using package A is: $",total_charges)

# if user entered B    

elif(selected_package == str('B')):

   # additionail hour is calculated

   extra_hour = hours_used - 20

   # total_charge is calculated for package b

   total_charges = base_price_package_b + (extra_hour * additional_price_b)

   # total charge for package b is displayed

   print("Your total charges using package B is: $",total_charges)

# if user entered C    

elif(selected_package == str('C')):

   print("You bought package C")

# amount to be saved

amount_saved = 0

# if user bought package A and total charge exceed 13.95

if (selected_package == str('A') and total_charges > base_price_package_b):

   # amount saved if package a is bought is calculated relative to package b

   amount_saved = total_charges - base_price_package_b

   # amout saved is printed

   print("You would have saved $",amount_saved, " if you bought package B")

   # amount saved if package a is bought is calculated relative to package c

   amount_saved = total_charges - base_price_package_c

   # amout saved is printed

   print("You would have saved $",amount_saved, " if you bought package C")

# if user bought package B and total charge exceed 19.95    

elif(selected_package == str('B') and total_charges > base_price_package_c):

   # amount saved if package b is bought is calculated relative to package c

   amount_saved = total_charges - base_price_package_c

   # amout saved is printed

   print("You would have saved $",amount_saved, " if you bought package C")

Explanation:

The code is written in python and well commented.

You might be interested in
Suppose that Robin withdrawals $100 of cash from her checking account at Trendy Bank and uses it to buy a camera from Adam, who
kupik [55]

Answer:

The alternative including its query is presented throughout the explanation section below.

Explanation:

(a)

The strategic petroleum insufficiency should also be,

= 100-0.10\times 100

= 90

This means that the financial institution would have to start reducing its loan payments as well as currency exchange by $90.

(b)

Yes, you can significantly raise your loan deposit accounts secure manner. Early years setting throughout Serenity Bank would be increased, therefore the proportion of total reserves would indeed be $90.

The margin requirement of spending in the market hasn't started to change since the percent impact would be similar. Robin's account was whittled down by $100, as well as Adam's payment was continued to increase whilst also $100. So there's no modification throughout the monetary policy.

5 0
3 years ago
Question 3 (1 point)
Neporo4naja [7]

Answer:

Bank tellers are responsible for handling customer financial transactions like deposits, withdrawals, transfers, money orders, and checking. ... A bank teller's duties also may include counting cash, answering phones, filing deposit slips and paperwork, managing ATM deposits, and balancing numbers at the end of the day.  umm sooo true I think.

Explanation:

5 0
4 years ago
Eastern Corporation collects 10% in the second month following sale, 55% in the month following sale, and 35% of a month's sales
monitta
I believe the answer is B if not let me know
3 0
3 years ago
Studying international business is important because the best way of conducting business is usually the same from country to cou
kakasveta [241]

Answer:

FALSE

Explanation:

Conducting business is usually NOT the same from country to country because:

1. DIFFERENCE IN BUSINESS ETHICS: Business ethics vary from nation to nation. European countries work from 8 am to 5 pm on a typical work day and rest on Saturdays and Sundays; but in the middle East, people do not work on Fridays but work on Sundays. They also take a lot of business time off for routine prayers during normal work hours.

2. NEED FOR TRANSLATORS: Differences of language does increase the cost of carrying out business activities in other nations. Take India and China for example; You cannot conclude that business deals will be carried out without hiring a translator who understands Hindi or Mandarin.

3. LOCAL LAWS AND CUSTOMS: The UK customs and laws require that cars be driven on the left hand side of the road but that is not the same in most other countries of the world, hence a U.S car manufacturer must be aware of the costs of redesign if he has to sell cars in the U.K.

5 0
3 years ago
The fixed cost of conducting the four promotions is estimated to be 18000 dollars with a variable cost of 3.75 dollars per custo
mote1985 [20]

Answer:please refer to the explanation section

Explanation:

The Question is incomplete. the question requires us to calculate minimum number of customers required to cover costs of promotions, to calculate the minimum number of customers required we need a price per customer. let us assume the price $6

Variable costs  = $3.75

Fixed costs = $18000

Minimum Customers Required = Fixed costs/(Price - Variable cost)

Minimum Customers Required = 18000/6 - 3.75 = 8000

8000 customers are required

4 0
3 years ago
Other questions:
  • On April 1, Tamarisk, Inc. began operations. The following transactions were completed during the month.
    9·1 answer
  • A researcher interested in what factors make an employee best suited for a given job would most likely identify as a(n) ________
    10·1 answer
  • From the choice of simple moving average, weighted moving average, exponential smoothing, and linear regression analysis, which
    13·1 answer
  • George operates a business that generated revenues from services of $50 million in 2019 and reported deductible expenses other t
    12·1 answer
  • For segmentation strategy to be successful, the customers in the segment must react similarly and positively to firm's offering,
    5·1 answer
  • A company enters into a short futures contract to sell 25,000 units of a commodity for 950 cents per unit. The initial margin is
    11·1 answer
  • Bond J has a coupon rate of 5 percent and Bond K has a coupon rate of 11 percent. Both bonds have 14 years to maturity, make sem
    13·1 answer
  • Which answer best explains the concepts of pricing?
    15·1 answer
  • Your company has two​ divisions: One division sells software and the other division sells computers through a direct sales​ chan
    6·1 answer
  • Discuss the statement: ‘Silence is Golden’ in approximately a hundred 300 words, in
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!