Internet service provider

Assignment Help Basic Computer Science
Reference no: EM131198338

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: EM131198338

Questions Cloud

Design bcp for sangrafix : You have been hired as a consultant to design BCP for SanGrafix, a video and PC game design company. SanGrafix's newest game has become a hot seller, and the company anticipates rapid growth.
Find the terminal stock price using a benchmark PE ratio : In practice, a common way to value a share of stock when a company pays dividends is to value the dividends over the next five years or so, then find the “terminal” stock price using a benchmark PE ratio. What is the target stock price in five years?
Determine what role health plays in developing economies : Determine what role health plays in developing economies. Examine the role that the International Monetary Fund and World Bank play in transfers and the conditions they set to effect this funding.
What is the company unlevered cost of equity capital : Twice Shy Industries has a debt−equity ratio of 1.2. Its WACC is 9 percent, and its cost of debt is 5.7 percent. The corporate tax rate is 35 percent. What is the company’s cost of equity capital? What is the company’s unlevered cost of equity capita..
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 the companys net working capital : Winston Electronics reported the following information at its annual meetings. The company had cash and marketable securities worth $1,236,830, accounts payables worth $4,160,690, inventory of $7,122,130, accounts receivables of $3,489,360, notes pay..
General principles and strategies of strategic planning : Do the general principles and strategies of strategic planning apply to IT planning? What may apply, what may not, and why - You can choose to either discuss comprehensively of many perspectives or focus on two or three main perspectives that strike..
Odd dividend policy-how much will you pay for share today : Maloney, Inc., has an odd dividend policy. The company has just paid a dividend of $8 per share and has announced that it will increase the dividend by $4 per share for each of the next five years, and then never pay another dividend. If you require ..
Elements of a data center : 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.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Article related to cloud-enabling technology

Find 1 article related to Cloud-Enabling Technology and to turn in the following: (1) TheURL of the article, (2) A brief summary of the article, and (3) a brief statement of your thoughts on the article. These items should be no more than 1 page in l..

  Design moduleaccept an integer store input in the reference

Design a module, using pseudocode, named getNumber, which uses a reference parameter variable to accept an Integer argument. The module should prompt the user to enter a number and then store the input in the reference paramter variable.

  Write a program in motorola m68000 assembler

write a program in Motorola M68000 assembler that does the following. First, the program will print the programming assignment number, your name, and your class account, all on one line.

  Implement unsigned 8-bit multiplication and division algorit

Implement unsigned 8-bit multiplication and division algorithms in MIPS assembly language. You need to follow the multiply and divide algorithms as given in the textbook or the slides. You must NOT use any MIPS multiplication or division instru..

  The caption element provides caption for image true or false

The caption element provides a caption for the image in a figure element. True or False

  Declare array, inventory, of components of type partstype

Assume that you have the following definition of a struct. struct partsType { string partName; int partNum; double price; int quantitiesInStock; }; Declare an array, inventory, of 100 components of type partsType.

  An issue in computer security is the concept of externality

An issue in computer security is the concept of externality. This is a term from economics. It means the cost of a decision is borne by people other than those taking the decision. For example, in the case of botnets, the 'costs' include (among..

  Type of distribution students like to see to earn good grade

What type of distribution would the students like to see in order to be most likely to earn a good grade? Explain your answers.

  Develop an encryption program

Your employer, SGA (Secretive government Agency), want you to develop an encryption program. After doing some research you have two candidate algorithms. According to your research, Algorithm 1 has cost Θ(n3), while algorithm 2 is listed as Ο(n4) a..

  What does discovery of cancer-killing effects of breast milk

What does the discovery of cancer-killing effects of breast milk while looking for effects of milk on bacteria tell you about the process of science?

  What are the problems with the horizontal and vertical

What are the problems with the ‘‘horizontal'' and ‘‘vertical'' solutions to the handling of multiple relationships as described in the chapter?

  Arp request packet the host sends

A host with an IPv4 address 130.23.43.20 and MAC address B2:34:55:10:22:10 has a packet to send to another host with IP address 130.23.43.25. Show the entries in the ARP request packet the host sends.

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