Question: USE TURBO C LANGUAGE. Write a program that will calculate and show the bills of the Manila Electric Company. The rates vary depending on whether

USE TURBO C LANGUAGE.

USE TURBO C LANGUAGE. Write a program that will calculate and show

Write a program that will calculate and show the bills of the Manila Electric Company. The rates vary depending on whether the use is residential (R), commercial( C), or industrial (1). Any other code should be treated as an error. The program should accept the subscriber ID, Subscriber Name, his total electrical consumption in a month, and the code of the consumer type. The rates are computed as follows: R: 50 plus .50 per kWh used C: 100 for the first 1000 kWh and 0.45 for each additional kWh I: 180 for the first 1000 kWh and 0.75 for each additional kWh

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!