Questions


July 2021 0 15 Report
//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*/​

Add an Answer


Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Helpful Social

Copyright © 2024 EHUB.TIPS team's - All rights reserved.