Question: Write the function cellPhoneBil1 () that takes two int m and tx as input and returns a float.The function takes total number of minutes and
Write the function cellPhoneBil1 () that takes two int m and tx as input and returns a float.The function takes total number of minutes and text messages that user spends in a particular month and returns the bill amount. These is the policy of the carrier company:
The plan includes 50 minutes of air time and 50 text messages for $15.00 a month.
Each additional minute of air time costs $0.25, while additional text messages cost $0.15 each.
All cell phone bills include an additional charge of $0.44 to support 911 call centers.
The entire bill (including 911 charge) is subject to 5 percent sales tax.
The function will take the total number of minutes and text messages and compute/return the total amount to be paid.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
