subject

A intro to c++ functions program. An Internet service provider has three different subscription packages for its customers:
Package A: For $15 per month with 50 hours of access provided.
Additional hours are $2.00 per hour over 50 hours.
Assume usage is recorded in one-hour increments,
Package B: For $20 per month with 100 hours of access provided.
Additional hours are $1.50 per hour over 100 hours.
Package C: For $25 per month with 150 hours access is provided.
Additional hours are $1.00 per hour over 150 hours
Write a program that calculates a customer’s monthly charges.
Implement with the following functions for your solution.
getPackage
validPackage
getHours
validHou
calculatePkg_A
calculatePkg_B
calculatePkg_C
calculateCharges
showBill
Demonstrate test cases as described in table:
Test Case Package Hours
1 A 50
2 a 51
3 B 100
4 b 101
5 C 149
6 c 251
7 e 720
8 c 722

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 18:50
Ais a picture icon that is a direct link to a file or folder
Answers: 1
question
Computers and Technology, 24.06.2019 01:30
How can you make your column headings stand out?
Answers: 1
question
Computers and Technology, 24.06.2019 02:30
Which option completes the explanation for conflict of interest in an organization
Answers: 1
question
Computers and Technology, 24.06.2019 10:30
Which of the following types of software is most applicable to the promotion of new products through advertising? a.databases b. spreadsheets c. web design programs d. word processing tools
Answers: 2
You know the right answer?
A intro to c++ functions program. An Internet service provider has three different subscription pac...
Questions
question
Mathematics, 21.10.2020 23:01
question
History, 21.10.2020 23:01
question
Mathematics, 21.10.2020 23:01
question
Mathematics, 21.10.2020 23:01
question
Mathematics, 21.10.2020 23:01
question
English, 21.10.2020 23:01
question
World Languages, 21.10.2020 23:01
question
Mathematics, 21.10.2020 23:01
Questions on the website: 13722360