Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

C++ PROGRAMMING ASSIGNMENT: Internet Service Provider has three different servic

ID: 3543076 • Letter: C

Question

C++ PROGRAMMING ASSIGNMENT:

Internet Service Provider has three different service packages labeled as A, B, or C for its customers: Package A: For $9.95 per month 30 hours of access are provided. Additional hours are $1.50 per hour. Package B: For $16.95 per month 100 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 to calculate, display and output the customers monthly bill. 1) The program should display the twelve months and ask the user to select the month. You also need to get the customer account number, which package the customer has purchased and how many hours were used. The program should then display the total amount due. The customer account number is a string of length 8 containing only numeric values. 2) On the customers monthly bill, you need to have the month, the customer account number, the service package for the customer, the number of hours used and total amount of money on the bill. The program should also display how much money Package A customers would save if they purchased package B or C, and how much money Package B customers would save if they purchased package C. If there is no saving, no message should be printed. Besides display the monthly bill on the screen, you also need to save the monthly bill in an external file. The name of the monthly bill should be the first three letters of the name of the month and the customers account number. For example, if the month is January and the customers account number is 88888888, then the file to keep the monthly bill is called Jan88888888.out. 3) The program should perform the following input validation: - Be sure that the user only selects package A, B, or C. - Be sure that the user enter valid account number. - Be sure that the user enter the valid number of hours for the month. - If any of the above errors occur, display an appropriate error message and ask the user to enter the information again. The following table shows the number of days for each month: Month Days Hours in month January 31 31x24 February 28 or 29 28x24 or 28x24 March 31 31x24 April 30 30x24 May 31 31x24 June 30 30x24 July 31 31x24 August 31 31x24 September 30 30x24 October 31 31x24 November 30 30x24 December 31 31x24 4) You need to use functions in your program. Besides main function, your project must have at least the following functions: - A function to take and valid user input - Three functions to calculate the monthly cost for different packages - A function to output the monthly bill to console and to file

Explanation / Answer

https://www.dropbox.com/sh/yni2hytryfxkwxj/oBK4e8NG3y


dowload the code from above link..

I have also given a copy of what gets printed on console

I have also send the output file which the code generate..

I have tested this code very well and I can claim that this works 100% correctly..


different functions are made as per the question demands..

testing for valid arguments has also been incorporated..

thank you..

please rate..

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote