📅  最后修改于: 2022-03-11 14:52:37.688000             🧑  作者: Mango
int number = 4;
int finalnum = 20;
while(number <= finalnum){
number++;
if(number %2 != 0){//Each odd number restarts the loop
continue;
}
System.out.println("Even Number!: "+ number);
}
}//EOM