package test;public class mathss{ public static void main(String args[]){ for(int n=1;n<=100;n++) { if(n%2==0&&n%3==0)System.out.println (n); }}}
for(i=3;i<100;i++){ if(i%2==0&&i%3==0){ System.out.println(i); }}