public class sushu { public static void main(String[] args) { int c = 0; int n = 0; System.out.print(2); for(int a = 3;a <= 100;a++) { c=0; for(int b = 2;b < a;b++) { if(a%b == 0) c = c+1 ; else c = c; } if(c == 0) System.out.print("\t"+a);n=n+1; } } }