Solved

If(qtySold > QUOTA) BonusPay = 50;

Question 13

Essay

if(qtySold > QUOTA)
bonusPay = 50;
totalPay = regPay + bonusPay;
System.out.println("Your totalPay amount is " + totalPay);
Why is the above code incorrect? What would be required to make the code execute correctly?

Correct Answer:

verifed

Verified

When you place a block within an if stat...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions