Question: fast plzz Problem #2: (25 pts] Methods a) Write a boolean method called sumDivisibleByFive that returns true if the sum of the digits of its
![fast plzz Problem #2: (25 pts] Methods a) Write a boolean](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3930ecdd7a_92666f3930e3c89c.jpg)
fast plzz
Problem #2: (25 pts] Methods a) Write a boolean method called sumDivisibleByFive that returns true if the sum of the digits of its integer parameter is divisible by 5 and false otherwise. For example, if the parameter passed to the method is 73 then the sum of its digits is 10 (7+3). The method should return true since 10 is divisible by 5. b) Write a main method that calls the method sumDivisibleByFive for the values between 10 and 100 inclusive 10 per line. This should output the following numbers: 14 19 23 28 32 37 41 46 50 55 64 69 73 78 82 87 91 96
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
