Write a program that calculates a customer monthly bill

Assignment Help Programming Languages
Reference no: EM13802720

Problem Statement

Assume that the Internet Service provider, Comcast, 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 $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 a customer's monthly bill. It should ask the user to enter the letter of the package the customer has purchased (A, B, or C) and the number of hours that were used. It should the display the total charges. In addition, it should display the amount of money Package A customers would save if they purchased 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.

Please write a program that displays the following information:

• The amount of money a customer will pay

• The amount of money a customer will save if he or she purchase Package B or C

• The amount of money must following a '$' and have 2 decimal points, such as $2.00, $34.56, etc.

Reference no: EM13802720

Questions Cloud

Write a paper about the cowboy cultural experience : Write a paper about The Cowboy Cultural Experience.
Big five personality inventory : Take the Big 5 Personality Inventory on p. 311 in our book. Write a 250 word summary of your type, as described by the Big 5 Inventory; discuss the upsides and the downsides of your type.
Assignment on applications of graph theory : Assignment on Applications of Graph Theory
How the symptoms impact on his activities of daily living : What community assistance would be available for Mrs Barber whilst Mr Barber remains in hospital? Give an example of an allied health care worker who would make these arrangements prior to Mr Barbers discharge - What actions should you take now tha..
Write a program that calculates a customer monthly bill : Write a program that calculates a customer's monthly bill. It should ask the user to enter the letter of the package the customer has purchased (A, B, or C) and the number of hours that were used. It should the display the total charges
Explain your answer and provide supporting rationale : Evaluate whether each of the following statements is true or false.  Explain your answer and provide supporting rationale. The short-run aggregate supply (SAS) curve slopes upward because households spend more as their incomes increase. The long-run ..
Analyze a work of literature not presented in class : Analyze a work of literature not presented in class in about 8 pages (2400-3200 words). The paper should focus on how this work of literature can be seen as part of the ongoing discourse.
Grouping of items for future discovery : Your Final Project for this course will be a virtual time capsule. A time capsule is a grouping of items for future discovery. For our purposes, we will imagine that our time capsule will be buried at the end of the course and opened 100 years lat..
Design an employee class : Design an Employee class that has fields for the following pieces of information: Employee Name and Employee Number

Reviews

Write a Review

Programming Languages Questions & Answers

  Create a class for performing arithmetic with fractions

Create a class called Rational for performing arithmetic with fractions. Write a program to test your class. 1/2+2/3+3/4.......+98/99+99/100.Use integer variables to represent the private data of the class

  Create an abstract representation of a generic animal

Create an abstract representation of a generic Animal that has the at least two polymorphic methods for making a sound and showing the image of the animal.

  Implement ref integ result in data duplication

Would failure to implement Ref Integ result in data duplication, incorrect data sets, or broken table errors or is there a work around.

  Appropriate for two classes to inherit from superclass

CDs and DVDs have several common characteristics. Would it be appropriate for these two classes to inherit from a common superclass?

  Scripting language programming in perl

course Scripting Language Programming,  Assignment   -  Perl,  ? Your coding style should conform to general Perl coding conventions. Your scripts should be clean, neat, and well-formatted (e.g. indention). Identifiers should also be properly name..

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Write a little man program that adds a column of input value

Write a Little Man program that adds a column of input values and produces the sum as output. An input value of zero will indicate the last value in the input stream of input values.

  Provide a graphical view of the planets and bases

Intergalactic Navigation. Provide a graphical view of the planets and bases, and meteorite fields and display the requested path from start to destination.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Create an application in which a user can enter a phone book

Create an application in which a user can enter a phone book entry, including the following elements

  Explain how array simplifies program development

Describe the requirement for complex data structures and how they are utilized. Describe the design and application of arrays and how array simplifies program development.

  Show the source code for console application

Show the source code for a C# console application named"MyName" that prints your last name, a tab, and then your first name.

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