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
Biology,
2 months ago
History,
2 months ago
Computer Science,
2 months ago
Political Science,
5 months ago
Science,
5 months ago
Biology,
11 months ago
Math,
11 months ago