判断质数
package com.guoba.testhello;
public class zhishu {
public static void main(String[] args) {
int[] arr1= new int[100];
int[] arr2= new int[100];
for (int i = 0; i<100;i++){
if (i% 2 ==0){
arr1[i] = i;
System.out.print(arr1[i]+"\t");
}else {
arr2[i] = i;
System.out.print(arr2[i]+"\t");
System.out.println();
}
}