write a program to calculate electricity bill. if the units consumed are equal or less 100 then the cost of per unit is 5,if units consumed are more than 100 and less than 200 then the cost is 7 per unit and if units consumed are more than 200 then the cost is 9 per unit
int U; float C;
cout<<"Consumed units: "; cin>>U; if (U<=100) C = 5*(float)U; if ((U>100)&&(U<=200)) C = 7*(float)U; if (U>200) C = 9*(float)U; cout<<"Price: "<<C<<"\n"; }
College and University is a time in your life when you find your passions and your interests and you study…
APPROVED BY CLIENTS
Thank you so much for your hard work. very impressive indeed ! I really appreciate your effort, however, the alias-listing is missing half the names. I got a list with 9 names only in it after I compiled the code, but very good job over all nonetheless. thank you all again and special thanks to the one worked on this assignment, and I'll def contact you in the future should I ever feel the need of an expert!!