public class $ {
public static void main(String[] args) {
for (int i = 1; i <= 100; i++) {
if (i % 2 == 0) {
System.out.println("偶数:" + i);
} else {
System.out.println("基数:" + i);
}
}
}
}
for(i=1;i<=100;i++){
System.out.prinltn((i%2==0?"偶数":"奇数")+i);
}