Question: in c code A wireless company offers customers the following cellular plan: 600 minutes Additional minutes Data up to 2GB Data exceeding 2GB Taxes and

in c code A wireless company offers customers the following cellular plan:in c code

A wireless company offers customers the following cellular plan: 600 minutes Additional minutes Data up to 2GB Data exceeding 2GB Taxes and surcharges $39.99 $0.40 per min $10 $10 per GB, rounded to the nearest GB ceiling) 5.25% Write a program that prompts the user to enter the number of minutes and GB consumed and calculates (a) the pre-tax monthly bill, c) the tax amount, and (d) the total bill. Sample program execution (user's entries in red): Enter the number of minutes: 700 Enter the data in GB: 2.5 Your monthly charges are as follows. Monthly Plan : $39.99 Additional per minute charges: $40.00 Data charges: $10.00 Additional data charges: $10.00 Pretax total: $99.99 Tax paid : $5.25 Total: $105.24 Test cases: (500, 1), (700, 2.5), (0, 4.2), (0,0)

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 Databases Questions!