Question: not sure what i am missing in my code (the red on the left shows what i did wrong) Feedback Given two integers, return true

not sure what i am missing in my code (the red on the left shows what i did wrong) not sure what i am missing in my code (the red on

Feedback Given two integers, return true if the first number is evenly divisible by the second, and false otherwise. Return false if the second number is 0. 0.83/ 10 Examples: Behavior Result isDivisible(30, 5) -> true is Divisible(30,5) -> true isDivisible(22, 5) -> false is Divisible(22,5) -> false isDivisible(100, 20) -> true is Divisible(100, 20) -> true is Divisible(99, 3) -> true 1 public boolean isDivisible(int numi, int num2) 2 { return num1 % num2 - @; is Divisible(75, 18) -> false is Divisible(-60, 3) -> true Check my answer! Reset Next exercise is Divisible(20,0) ArithmeticException:/by zero hidden

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!