Solved

If(qtySold > QUOTA)

Question 40

Essay

if(qtySold > QUOTA)
    bonusPay = 50;
    totalPay = regPay + bonusPay;
System.out.println("Your totalPay amount is " + totalPay);
Why is the above code incorrect? Write the code that will provide the correct result.

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