Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribedin 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Larry Ellison Database Genius Of Oracle

Authors: Craig Peters

1st Edition

0766019748, 978-0766019744

More Books

Students also viewed these Databases questions

Question

Enhance the basic quality of your voice.

Answered: 1 week ago

Question

Describe the features of and process used by a writing team.

Answered: 1 week ago