for(k=1;k<=5;k++) while(k>5) { { sum+=j*k sum=sum+k; } k++; } } System.out.println(“Sum=” + sum); j++; } System.out.println(“Sum=” + sum); int j=0,k=0, r=10; int j=0,k=0, r=10; for (j=1;j<=5;j++) for (j=1;j<=5;j++) { { if(r<15) if(r<15) r=r+j+2; r=r + j + 2; else else r=r%5+j*2; r =r j -2 – } } System.out.println(r); System.out.println(r); int j=0,k=10, r=10; double p=0.0,k=0.0; while(k>=100) while(p<=28) { { if(k%6==0) k=k+p; r = r + k; p+=4.5;
for(k=1;k<=5;k++) { sum+=j*k } } System.out.println(“Sum=” + sum); while(k>5) { sum=sum+k; k++; } j++; } System.out.println(“Sum=” + sum); int j=0,k=0, r=10; for (j=1;j<=5;j++) { if(r<15) r=r+j+2; else r=r%5+j*2; } System.out.println(r); int j=0,k=0, r=10; for (j=1;j<=5;j++) { if(r<15) r=r + j + 2; else r =r – j -2 } System.out.println(r); int j=0,k=10, r=10; while(k>=100) { if(k%6==0) r = r + k; double p=0.0,k=0.0; while(p<=28) { k=k+p; p+=4.5;