To be exact, the code to do this would look like this:
int num1 = 6;
if(num1%2==0)
System.out.print("Even Number");
if(num1%2==1)
Type: Posts; User: aussiemcgr
To be exact, the code to do this would look like this:
int num1 = 6;
if(num1%2==0)
System.out.print("Even Number");
if(num1%2==1)