public class test2 {
public static void main(String[] args) {
int num = 0, i = 1;
while(i <= 100){
if(i % 3 == 0){
System.out.print(i + " ");
}
i++;
}
}
}
public class test2 {
public static void main(String[] args) {
int num = 0, i = 1;
while(i <= 100){
if(i % 3 == 0){
System.out.print(i + " ");
}
i++;
}
}
}