🌈 搜索
📅  最后修改于: 2022-03-11 14:52:04.153000             🧑  作者: Mango
int n = 2; //Or any other number for (int i=0; i < 10; i+=n){ System.out.println(i) //This will print 0,2,4,6,8 }