This blog is for Automation Test Engineers

Sunday, 3 September 2017

How to find number is even or odd

int z=4;
if(z%2==0){
System.out.println("Its even no");
}
else{

System.out.println("Its odd no");


}
0

0 comments:

Post a Comment