Computer Science, asked by unagarparthoo007, 3 months ago

write a program to input number and print wether it is even or odd. ​

Answers

Answered by ahanaguha2018
1

class Program

{

void disp(int a)

{

if(a%==0)

System.out.println("Even Number");

else

System.out.println("Odd Number");

}

}

Similar questions