Anonymous

Can You Help? Write A C Program That Computes The Monthly Electricity Bill Of WAPDA Customers. System Should Take Input Of Electricity Units Consumed By The Customer, For The First 100 Units, WAPDA Charges RS 3/unit, For Next 100 Unites RS 5/unit, For Next 100 Uni?

2

2 Answers

Anonymous Profile
Anonymous answered
#include
#include
class bill
{
int units;
float amt;
public:
Void reading()
{
coutunits;
}
void calculate();
};
void bill::calculate()
{
if(units
Anonymous Profile
Anonymous answered
Why go to the trouble of writing an app to do it when you could easily create a spreadsheet to calculate it for you, should take little more than a few formulas and if statements

Answer Question

Anonymous