Preceding error

The following program has syntax errors. Correct them. On each successive line, assume that any preceding error has been corrected. (12)

#include

using std;

const double  DECIMAL# = 5.50;

const string blanks = ”   “

int ()main

 int height, weight;

double 10%discount

double billingAmount$;

double bonus;

int hoursWorked = 45;  

height = 6.2;

weight = 156;

cout < height=””>< “=”” “=””>< weight=””>< end;=””  =””>

discount = (2 * height + weight) % 10.0 price = 49.99;  

billingAmount = price * (1 – discount) – DECIMAL ;

DECIMAL = 7.55;  

cout < price=””>< blanks=””>< $=”” billingamount=””>< endl;=””  =””>

bouns = hoursWorked * PAY_RATE / 50;  

cout

return 0;

“bonus=””>

return 0;

}

>

WhatsApp
Hello! Need help with your assignments?

For faster services, inquiry about  new assignments submission or  follow ups on your assignments please text us/call us on +1 (251) 265-5102

🛡️ Worried About Plagiarism? Run a Free Turnitin Check Today!
Get peace of mind with a 100% AI-Free Report and expert editing assistance.

X