Question: In python 3 in Internet Service Provider(ISP) has three different subscription packages for its customers: Package A: For $15 per month with 50 hours of

In python 3

in Internet Service Provider(ISP) 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 Assume the Billing Cycle is 30 days. The ISP has contracted us to write the application softare for their new Billing System. getPackage validPackage getHours validHours calculatePkg_A calculatePkg_B calculatePkg_C Write a Console Dialog Application in the main() function. You will need to display a menu. The Input processing should only be done using functions: getPackage, validPackage, getHours, validHours, and program control constructs. The Calculation Processing should only be done using functions: calculatePkg_A, calculatePkg_B, calculatePkg_C, and program control constructs. For Output Results you should display the Package Selected, Hours of Usage, and the Amount charged for the month. Demonstrate test cases as described in table: Test Case Package Hours 1 a 70 2 b 140

3 c 220 =================================================================== 'Paste' your Console Dialog & Results from the Compiler Output Window and 'Paste' your Source Code from the Compiler Source Code Window

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!