a1.java
public class a1 { public static void main(String[] args) { // TODO Auto-generated method stub int i2=0; for(int i = 100; i < 1000; i++) { i2 = i*i; if(i2%1000==i) { System.out.print(i); return; } } } }
a1.java
public class a1 { public static void main(String[] args) { // TODO Auto-generated method stub int i2=0; for(int i = 100; i < 1000; i++) { i2 = i*i; if(i2%1000==i) { System.out.print(i); return; } } } }