//to check divisibility by 17 or not class CHECK
{
void method (int n)
{
if(n%17==0)
System.out.print("DIVISIBLE BY 17" +n);
else
System.out.print("NOT DIVISIBLE BY 17" +n);
}
}
/*Q1)Write a program to input any number
check it is divisible by 17 or not.
Display the appropriate result*/
Share
0 Replies