Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Conditional in C. Calculate the customer's monthly bill using C language . Thank you so much in advance. Package A - P250.00 plus P0.002 per

Conditional in C.

Calculate the customer's monthly bill using C language.

image text in transcribed

image text in transcribed

Thank you so much in advance.

Package A - P250.00 plus P0.002 per gallon used Package B - P5,000.00 for the first 4 million gallons and P0.002 for each additional gallons Package C - P8,000.00 if usage does not exceed 4 million gallons, P14,000.00 if usage is more than 4 million gallons but not more than 10 million gallons, and P18,000.00 if usage exceeds 10 million gallons. Your program should ask the user for the package and the gallons of water used. It should then output the users monthly water bill. Best of luck! Sample Output 2 P5400.00 Sample Output 3

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

Essential Data Protection For Estate Agencies In Singapore 2024

Authors: Yang Yen Thaw Yt

1st Edition

B0CQK79WD3, 979-8872095392

More Books

Students also viewed these Databases questions

Question

How do you determine the load-bearing capacity of a soil?

Answered: 1 week ago

Question

what is Edward Lemieux effect / Anomeric effect ?

Answered: 1 week ago

Question

Define Management by exception

Answered: 1 week ago

Question

Explain the importance of staffing in business organisations

Answered: 1 week ago

Question

2. List the advantages of listening well

Answered: 1 week ago