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

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  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 .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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