dsJava divisible by 3 and 5 This is a Java Program to Check Whether Given Number is Divisible by 5. Enter any integer as…byJohn