Menu

[solved]-Hapter 3 Decision Structures 13 Internet Service Provider Internet Service Provider Three Q39076075

hapter 3 Decision Structures 13. Internet Service Provider An Internet service provider has three different subscription packplease show the code after challenge 14use switch statements• Programming Challenge Chapter 3 - Challenge 13 & 14 Internet Service provider (page 188) include savings in all cases • Subhapter 3 Decision Structures 13. Internet Service Provider An Internet service provider has three different subscription packages for its customers: Package A: Package B: For $9.95 per month 10 hours of access are provided. Additional hours are $2.00 per hour. For $13.95 per month 20 hours of access are provided. Additional hours are $1.00 per hour. For $19.95 per month unlimited access is provided. Package C: 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 then display the total charges. 14. Internet Service Provider, Part 2 Modify the program you wrote for Programming Challenge 13 so it also calculates and displays 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 Pack- age C. If there would be no savings, no message should be printed. 16 RALL • Programming Challenge Chapter 3 – Challenge 13 & 14 Internet Service provider (page 188) include savings in all cases • Submit only the final code after completing Challenge 14 o If you use graphics the output might look like the attached image, or output could look like this: Enter the letter of the package you purchased (A, B, or C): A Enter the amount of hours that were used: 16 Your cost: $21.96 With package B, you would have saved: $8 With package C, you would have saved: $2 Enter the letter of the package you purchased (A, B, or C): B Enter the amount of hours that were used: 27 Your cost: $20.95 With package c, you would have saved: $1 Enter the letter of the package you purchased (A, B, or C): C Enter the amount of hours that were used: 13 Your cost: $19.95 with package A, you would have saved: $4 With package B, you would have savedt 96 Show transcribed image text hapter 3 Decision Structures 13. Internet Service Provider An Internet service provider has three different subscription packages for its customers: Package A: Package B: For $9.95 per month 10 hours of access are provided. Additional hours are $2.00 per hour. For $13.95 per month 20 hours of access are provided. Additional hours are $1.00 per hour. For $19.95 per month unlimited access is provided. Package C: 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 then display the total charges. 14. Internet Service Provider, Part 2 Modify the program you wrote for Programming Challenge 13 so it also calculates and displays 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 Pack- age C. If there would be no savings, no message should be printed. 16 RALL
• Programming Challenge Chapter 3 – Challenge 13 & 14 Internet Service provider (page 188) include savings in all cases • Submit only the final code after completing Challenge 14 o If you use graphics the output might look like the attached image, or output could look like this: Enter the letter of the package you purchased (A, B, or C): A Enter the amount of hours that were used: 16 Your cost: $21.96 With package B, you would have saved: $8 With package C, you would have saved: $2 Enter the letter of the package you purchased (A, B, or C): B Enter the amount of hours that were used: 27 Your cost: $20.95 With package c, you would have saved: $1 Enter the letter of the package you purchased (A, B, or C): C Enter the amount of hours that were used: 13 Your cost: $19.95 with package A, you would have saved: $4 With package B, you would have savedt 96

Expert Answer


Answer to hapter 3 Decision Structures 13. Internet Service Provider An Internet service provider has three different subscription… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *