public class TestaMultiplosDeTres {
public static void main(String[] args) {
int i = 0;
for (i = 0; i < 100; i+=3) {
if(i % 3 == 0);
System.out.println(i);
}
}
}