Question: Unit 5 Debugging Exercise 5-2 still need help with 1st pictures is the assignment and code that needs fixing the others is the code I
Unit 5 Debugging Exercise 5-2 still need help with
1st pictures is the assignment and code that needs fixing
the others is the code I received as answer and what's not working






The files provided in the code editor to the right contain syntax and/or logic errors. In each case, determine and fix the problem, remove all syntax and coding errors, and run the program to ensure it works properly. An example of the program is shown below: Enter a number 10 Enter another number 3 Neither of these numbers is evenly divisible into the other Tasks The DebugFive2 class compiles without error. The DebugFive2 logic errors have been fixed. The DebugFive2 program accepts user input and displays the correct output. DebugFive2.java x+ 1. // DebugFive2. java 2 // Decides if two numbers are evenly divisible 3 import java.uti1. Scanner; 4 public class DebugFive 2 5\{ 1 DebugFiveR.java x= - import java.util. Soanner; 2. public class Debug ive2 3. \{ Tasks The DebugFive2 class compiles without error. The DebugFive2 logic errors have been fixed. The DebugFive2 program accepts user input and displays the correct output. Custom Test Incomplete The DebugFive2 logic errors have been fixed. Test Output (3) class does not contain a logic operator error. class contains a logic error within a decisi - AssertionError Test Output FAILED! e DebugFive2" program accepts user input and ! Hint: Do not alter the "System.out.println' me class java. lang.AssertionErx y Test Contents
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
