Question on internet service provider

Assignment Help Basic Computer Science
Reference no: EM131200193

Question: Internet Service Provider

An Internet service provider has three different subscription packages for its customers:

Package A: $9.95 per month for 10 hours access. Additional hours are $2.00 per hour

Package B: $13.95 per month for 20 hours access. Additional hours are $1.00 per hour

Package C: $29.99 per month for unlimited access.

Write a program that performs the following two tasks:

  1. ask the user to enter the letter of the package the customer purchased (A, or B, or C) and the number of hours that we used. The program then should calculate and display the total charges for the package.
  2. if the customer purchased Package A, the program should also calculate and display the amount of money the customer would save by switching to package B or C
  3. If the customer purchased Package B, the program should also calculate and display the amount of money the customer would save by switching to Package C.
  4. For task 2 & 3, If there would be no savings, no message should be displayed.

Requirements: turn in the .java file as attachment

Reference no: EM131200193

Questions Cloud

Calculate individuals federal marginal tax rate : Use the model to calculate these individuals' federal (effective) marginal tax rates and federal income tax liability in 1988, 1998, and 2008. - Explain the pattern that you find.
Real estate developer is planning to build an office complex : A real estate developer is planning to build an office complex. Currently, there are three office sizes under consideration: small, medium, and large. Small offices can be rented for $600 per month, medium offices can be rented for $750 per month, an..
What is the monopolist''s markup over the competitive price : What is the monopolist's markup over the competitive price? Does the result of your answer change if the game is played an infinite number of times? Why or why not? Properly use game theoretic terminology in your answer.
Determine break-even number of copies per month for option : Angela and Bob Master have decided to start a company, Copymax, that will place self-service copy machines onto customer premises in libraries, universities, high schools, shopping malls, etc. Determine the break-even number of COPIES PER MONTH for e..
Question on internet service provider : An Internet service provider has three different subscription packages for its customers: Package A: $9.95 per month for 10 hours access. Additional hours are $2.00 per hour Package B: $13.95 per month for 20 hours access. Additional hours are $1.00 ..
What is marginal tax rate and average tax rate : What is your marginal tax rate? What is your average tax rate? Do these rates differ? Why or why not?- What is the likely effect on the labor supply of married women?
Elements of a data center besides the core elements : Research other elements of a data center besides the core elements discussed in this chapter, including environmental control parameters such as HVAC (heat, ventilation, and air-condition), power supplies, and security.
Represent a data item in ieee 64-bit floating point format : Why may a programmer choose to represent a data item in IEEE 64-bit floating point format instead of IEEE 32-bit floating point format? What additional costs may be incurred at run time (when the application program executes) as a result of using ..
Write the frequency transfer function of the model : Write the input-output differential equation of motion for the read/write arm unit.

Reviews

Write a Review

 

Basic Computer Science Questions & Answers

  Questions how and why of at&t problems

Introduction-Include a brief introduction into the company and it's problem or situation.

  Pareto efficiency or domination

For each statement give 2x2 matrix that shows it is false. (I'd start by looking at the games I put up in class, Prisoner's Dilemma, Battle of the Sexes, World's Dumbest Game, etc.) When I talk about Pareto efficiency or domination assume it's strong..

  Experiment with different file and buffer sizes

Try performing these timing tests on a range of file systems (e.g., ext3, XFS, Btrfs, and JFS). Are the results similar? Are the trends the same when going from small to large buffer sizes?

  Find the cost and schedule variances and the cpi and spi

cost and schedule variances and the CPI and SPI.

  What circumstances is static allocation

Under what circumstances is static allocation for a local permissible?

  Draw the logic diagram of the bcd counter

Verify the flip-flop input functions of the synchronous BCD counter specified in Table 7-5. Draw the logic diagram of the BCD counter and include a count-enable control input.

  Design a plan for email content which was leaked

Suppose that you feel that your (or your boss's) email content was always leaked (e.g., some confidential information in your email was known to many others). Design a plan for this investigation.

  Computer crime essay

Identify and discuss the steps necessary to make electronic evidence admissible in court.

  Write only one event handling method

When the penguin is mouse-clicked, pass the penguin object that was clicked and the number of times the penguin is to spin around as it slides down the slope.

  What is wrong with the following declaration?

What is wrong with the following declaration?

  How much extra transmission delay will the segments

a) How much extra transmission delay will the segments experience?

  What differences might you expect in compilers designed

Compilers are used in many different circumstances. What differences might you expect in compilers designed for the following applications?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd