Question: Can you pls debug this code for me please? Out of the 3 tasks, only 1 is wrong, here's what it says: Task 2 :

Can you pls debug this code for me please? Out of the 3 tasks, only 1 is wrong, here's what it says:
Task 2: The DebugFive2 logic errors have been fixed.
Test: The `DebugFive2` class does not contain a logic operator error.
Status: FAILED!
Reason: Logic errors are more difficult to find as the code will still work but may produce unexpected results. The `DebugFive2` class should contain the OR logic operator.
Error : class java.lang.AssertionError
----------
Test: The `DebugFive2` class does not contain an arithmetic logic error.
Status: FAILED!
Reason: Logic errors are more difficult to find as the code will still work but may produce unexpected results. The `DebugFive2` class contains an arithmetic logic error. expected:2> but was:1>
Error : class java.lang.AssertionError
----------
Status: FAILED!
Check: 1
Test:
Reason: Logic errors are more difficult to find as the code will still work but may produce unexpected results. The `DebugFive2` class should contain the OR logic operator.Cengage.message=Logic errors are more difficult to find as the code will still work but may produce unexpected results. The `DebugFive2` class contains an arithmetic logic error. expected:2> but was:1>
Error : str - AssertionError
Also, here's the intructions:
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
 Can you pls debug this code for me please? Out of

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!