Answer to Question #16766 in C++ for Hania
cout<<"Consumed units: ";
if (U<=100) C = 5*(float)U;
if ((U>100)&&(U<=200)) C = 7*(float)U;
if (U>200) C = 9*(float)U;
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!