package Sushu;
public class Sushu {
public static void main(String args[]){
int i=1;
do{
int j=2;
while(j<i){
if(i%j==0)
break;
j++;
}
if(j==i){
System.out.println(i);
}
i++;
}while(i<=100);
}
}
package Sushu;
public class Sushu {
public static void main(String args[]){
int i=1;
do{
int j=2;
while(j<i){
if(i%j==0)
break;
j++;
}
if(j==i){
System.out.println(i);
}
i++;
}while(i<=100);
}
}