Anurag is creating a program to check whether the given number is divisible by 5 or not. Suggest him the
appropriate condition for the same.
Answers
Answered by
1
Answer:
25....................
Answered by
0
Answer:
class divisible
{
public static void main()
{
int x;
if(x%5==0)
System.out.println("Divisible by 5");
else
System.out.println("Not divisible by 5");
}
}
Similar questions