Different subscription packages for its customers

Assignment Help Basic Computer Science
Reference no: EM132003131

An Internet service provider has three different subscription packages 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 $14.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 a customer's monthly bill. It should input customer name, which package the customer has purchased, and how many hours were used. It should then create a bill that includes the input information and the total amount due. The bill should be written to a file.

Input Validation: Be sure the user only selects package A, B, or C. Also, the number of hours used in a month cannot exceed 744.

Reference no: EM132003131

Questions Cloud

Company cash dividend be in seven years : What will the company's cash dividend be in seven years?
Calculation of the weighted average cost of capital : What are the primary inputs in the calculation of the weighted average cost of capital?
Discuss what you have learned in this class : Discuss what you have learned in this class and how it will assist you in achieving further professional goals - What enhancements could be made to this class
Differences between systematic and nonsystematic risk : Differences between systematic and nonsystematic risk?
Different subscription packages for its customers : An Internet service provider has three different subscription packages for its customers:
Types of functions in programming : What are the different types of functions in C++ programming?
Reads data from a text file using a while loop : Provide a C++ code segment that reads data from a text file using a while loop. Use comments to explain what key lines of code are doing.
Parameter and six integer reference parameters : Write a function named change() that has an integer parameter and six integer reference parameters named hundreds, fifties, twenties, tens, fives
Create development opportunities for staff : BSBLED401 Develop Teams & Individuals - How might you identify learning and development needs in an organisation and What are the key steps involved

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Research paper of approximately five

Prepare a short research paper of approximately five (5) pages, double-spaced, exclusive of cover, title page, table of contents, endnotes and bibliography.  Your paper must use APA formatting with the exception that tables and figures can be inse..

  Service business such as sprint nextel

Discuss the benefits of quality control for a service business and the methods a company might use for controlling quality?

  Why this type of switching was chosen for telephone networks

In Chapter 8, we discussed the three communication phases involved in a circuit-switched network. Match these phases with the phases in a telephone call between two parties.

  Project life cycle model to create game plan

Explain in scholarly detail how you would apply project life cycle model to create a game plan for developing different project.

  Create a program that asks user for number between 1 and 100

Develop a JavaScript solution to the follow problem: Create a program that asks a user for a number between 1 and 100, the program should then output to the user higher, lower, or correct, depending upon the input from the user and the random numb..

  Conflicting goals management

Create a Service Operation document that could be used by an organization of your choice.

  Value of a car is a linear function of time

Assume the value of a car is a linear function of time.  When new the car is worth $26,300; 20 years later the car is worth $1,500.  How much will the car be worth 7 years after purchase?

  What is the maximum number of processes that it can use

The last element in each sublist has a pointer to the element in the next process. What is the parallel run time and speedup of this formulation? What is the maximum number of processes that it can use?

  Do you believe that having internet access

Do you believe that having Internet access, as the author suggests, is not a convenience or luxury, but a human right?

  Sphere with uniform volume charge density

Sphere with uniform volume charge density, solve the second problem onl

  Prove that a tree is a bipartite graph

Write an algorithm that deterimines if an arbitrary undirected graph is a bipartite graph. If the graph is bipartite, then your algorithm should also identify the vertices as to which of the two partitions each belongs to.

  Equation of the line tangent

In Problem a point (a, b) on the graph of y = f(x) is given, and the equation of the line tangent to the graph of f(x) at (a, b) is given. In each case, find f'

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