Question: Debugging Exercise 5-2 Someone already did this, but I am still getting these after doing the debugging. DebugFive2.java:12: error: illegal start of expression if((num %
Debugging Exercise 5-2
Someone already did this, but I
am still getting these after doing the debugging.
DebugFive2.java:12: error: illegal start of expression if((num % num2 == 0) || (num2 % num) == 0)) ^ DebugFive2.java:14: error: 'else' without 'if' else
>Terminal sandbox $ rm -f .class sandbox $ sandbox $ sandbox $ javac DebugFive2.java DebugFive2.java:12: error: illegal start of expression if ((num \% num2 == 0) || (num2 \% num) = 0) ) DebugFive2.java:14: error: 'else' without 'if' else 2 errors sandbox $ java DebugFive2 Error: Could not find or load main class DebugFive2 sandbox $ ^C sandbox $
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
