You are to create a python program Scenario: You are the owner of a local ISP. You are providing internet to your customers via three plans that you offer. You are offering a Standard plan that costs 1,000 PHP a month and provides a bandwidth limit of 30 GB/month, a Pro plan that costs 2,000 PHP a month and provides a bandwidth limit of 60 GB/month, and a Business plan that costs 3,500 PHP a month and provides a bandwidth limit of 120 GB/month. If the user exceeds their monthly bandwidth limit, they will be charged an extra 0.05 PHP per MB for the Standard plan, an extra 0.15 PHP per MB for the Pro plan, and an extra 0.5 PHP per MB for the Business plan. You are planning to come up with an application that can help you compute the bill of a customer based on their internet usage and the internet plan that they are subscribed to. Your application will initially ask for the following information when it is started: The name of the customer The account number of the customer The phone number of the customer The email address of the customer The internet plan of the customer (Standard, Pro, or Business) How much bandwidth (in MB) has the customer consumed for the month. After inputting the required information, the application will then compute their given bill based on how much bandwidth they have consumed. If they have not gone over the monthly bandwidth for their plan, then they will be charged the regular amount that is listed for their internet plan. If they have gone over their monthly bandwidth limit, they will be charged the regular amount for their plan plus an extra amount which is a set price multiplied by the excess bandwidth they have consumed based on their given internet plan. e.g. If the user has a Standard plan, and they consumed 40,960 MB (40 GB), then they will be charged 1,000 PHP (the standard amount for the plan) plus 512 PHP (10,240 MB * 0.05 PHP) for a total internet bill of 1,512 PHP. If the user only consumed 20,480 MB (20 GB) on the other hand, they will only be charged 1,000 PHP on their internet bill since they have not gone over their monthly bandwidth limit. Once the application has calculated the amount, it is to output a receipt containing the following information: The name of the customer The account number of the customer The phone number of the customer The email address of the customer The internet plan of the customer (Standard, Pro, or Business) How much bandwidth (in GB and MB) has the customer consumed for the month. The TOTAL (regular rate plus excess if any) amount that the user has been charged for their internet bill IMPORTANT: In this scenario, 1 GB = 1024 MB.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
  • You are to create a python program
  • Scenario: You are the owner of a local ISP. You are providing internet to your customers via three plans that you offer. You are offering a Standard plan that costs 1,000 PHP a month and provides a bandwidth limit of 30 GB/month, a Pro plan that costs 2,000 PHP a month and provides a bandwidth limit of 60 GB/month, and a Business plan that costs 3,500 PHP a month and provides a bandwidth limit of 120 GB/month. If the user exceeds their monthly bandwidth limit, they will be charged an extra 0.05 PHP per MB for the Standard plan, an extra 0.15 PHP per MB for the Pro plan, and an extra 0.5 PHP per MB for the Business plan. You are planning to come up with an application that can help you compute the bill of a customer based on their internet usage and the internet plan that they are subscribed to.
  • Your application will initially ask for the following information when it is started:
    • The name of the customer
    • The account number of the customer
    • The phone number of the customer
    • The email address of the customer
    • The internet plan of the customer (Standard, Pro, or Business)
    • How much bandwidth (in MB) has the customer consumed for the month.
  • After inputting the required information, the application will then compute their given bill based on how much bandwidth they have consumed. If they have not gone over the monthly bandwidth for their plan, then they will be charged the regular amount that is listed for their internet plan. If they have gone over their monthly bandwidth limit, they will be charged the regular amount for their plan plus an extra amount which is a set price multiplied by the excess bandwidth they have consumed based on their given internet plan.
    • e.g. If the user has a Standard plan, and they consumed 40,960 MB (40 GB), then they will be charged 1,000 PHP (the standard amount for the plan) plus 512 PHP (10,240 MB * 0.05 PHP) for a total internet bill of 1,512 PHP. If the user only consumed 20,480 MB (20 GB) on the other hand, they will only be charged 1,000 PHP on their internet bill since they have not gone over their monthly bandwidth limit.
  • Once the application has calculated the amount, it is to output a receipt containing the following information:
    • The name of the customer
    • The account number of the customer
    • The phone number of the customer
    • The email address of the customer
    • The internet plan of the customer (Standard, Pro, or Business)
    • How much bandwidth (in GB and MB) has the customer consumed for the month.
    • The TOTAL (regular rate plus excess if any) amount that the user has been charged for their internet bill
  • IMPORTANT: In this scenario, 1 GB = 1024 MB.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY