Question: Correct the code to properely run. #include using namespace std; int main() { const int SECRET_NUM = 11,213; const PAY_RATE = 18.35 int one, two;

Correct the code to properely run.

#include

using namespace std;

int main() {

const int SECRET_NUM = 11,213;

const PAY_RATE = 18.35

int one, two;

double first, second;

one = 18;

two = 11;

first = 25;

second = first * three;

if(second = two){ second = SECRET_NUM / 2; Secret_NUM = SECRET_NUM - 1; } else{

second = 2 * SECRET_NUM; }

SECRET_NUM = SECRET_NUM + 3;

cout << first << " " << second << SECRET_NUM << endl;

paycheck = hoursWorked * PAY_RATE

cout << "Wages = " << paycheck << endl;

return 0;

}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!