write a program to input number and print wether it is even or odd.
Answers
Answered by
1
class Program
{
void disp(int a)
{
if(a%==0)
System.out.println("Even Number");
else
System.out.println("Odd Number");
}
}
Similar questions
CBSE BOARD XII,
1 month ago
Math,
1 month ago
World Languages,
1 month ago
Political Science,
3 months ago
Science,
3 months ago
Biology,
9 months ago
Math,
9 months ago