Scanner scn=new Scanner(System.in);
int N1=scn.nextInt();
int N2=scn.nextInt();
int row=1;
while (row<=N1) {
int n=1;
int a=3*n+2;
while(a%N2 !=0) {
System.out.println(a);
}
}
what is wrong in this code
???