InterviewSolution
Saved Bookmarks
| 1. |
WAP to calculate the electricity bill based on the units entered by the user according to the following slab |
|
Answer» Write a C PROGRAM to input electricity unit charge and calculate the total electricity bill ACCORDING to the GIVEN condition:For FIRST 50 units Rs. 0.50/unitFor next 100 units Rs. 0.75/unitFor next 100 units Rs. 1.20/unitFor unit above 250 Rs. 1.50/unitAn additional surcharge of 20% is added to the bill.How to calculate electricity bill using if else in C programming. Program to find electricity bill using if else in C. Logic to find net electricity bill in C program |
|