Question: Design and write a program that calculates and displays the number of minutes over the monthly contract minutes that a cell phone user incurred. The
Design and write a program that calculates and displays the number of minutes over the monthly contract minutes that a cell phone user incurred. The program should allow users to enter into a file minutes allowed in a month, minute used during a month and minutes over during a month for months. The program reads the data from the file. The program validates the data as follows: The min TL imum minutes allowed should be at least but not greater than Validate data accordingly. The minutes used must be over Validate data accordingly. Once correct data is read, the program should calculate the number of minutes over the minute allowed. If minutes were not over, print a message that they were not over the limit If minutes were over, for every minute over, a fee should be added to the monthly contract rate of Be sure not to add the fee for minutes to the number of minutes allowed, but rather just minutes over. Display in a file the number of minutes used, minutes allowed, the number of minutes over, and the total due that month. Your program should consider functions create the functions to perform the different tasks reading data, calculating the total due and total minutes over, printing monthly use report NEED TO WRITE THE CODE IN PYTHON LANGUAGE
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
