Question: if (firstValue == secondValue) { int total = firstValue + secondVaue; System.out.println(The values are equal); System.out.println(The total is + total); Why will the above
if (firstValue == secondValue) { int total = firstValue + secondVaue; System.out.println("The values are equal"); System.out.println("The total is " + total); Why will the above println() statement cause an error? Write code to fix the error
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
