Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(C Programming) Chatflow Wireless offers customers 600 weekday minutes for a flat rate of 39.99. Night (8 p.m. to 7 a.m.) and weekend minutes are

(C Programming)

Chatflow Wireless offers customers 600 weekday minutes for a flat rate of 39.99. Night (8 p.m. to 7 a.m.) and weekend minutes are free, but additional weekday minutes cost 0.40 each. There are taxes of 5.25% on all charges. Write a program that prompts the user to enter the number of weekday minutes, night minutes, and weekend minutes used, and calculates the monthly bill and average cost of a minute before taxes. The program should display with labels all the input data, the pretax bill and average minute cost, the taxes, and the total bill. Store all monetary values as whole cents (rounding the taxes and average minute cost), and divide by 100 for display of results.

image text in transcribed

I need to have these in my code with these numbers in the code and result.. But this is my code so far but I am having compiling problem can someone please help guide me ?image text in transcribedimage text in transcribed

Enter the number of weekday minutes:700 Enter the number of night minutes: 70 Enter the number of weekend minutes:80 Billing Statement Total Weekday Min ( 600 included in plan. 40c extra/min): 700 Total Night Min (Unlimited included in plan) : 70 Total Weekend Min (Unlimited included in plan) : 80 Plan cost: $39.99 Extra minutes used: 100 Extra minutes price: $40.00 Total Min this month: 850 Average price per Min: $0.09 Total due before tax: $79.99 Total tax @ 5.25%:$4.20 Total Due: $84.19 testz.c

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_2

Step: 3

blur-text-image_3

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

Database Processing

Authors: David M. Kroenke, David Auer

11th Edition

B003Y7CIBU, 978-0132302678

More Books

Students also viewed these Databases questions