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 IDebugging Exercise 5-2 Someone already did this, but I am still gettingthese after doing the debugging. DebugFive2.java:12: error: illegal start of expression if((num 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% num2 == 0) || (num2 % num) == 0)) ^ DebugFive2.java:14:

>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

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!