class Sample1 { public static void main(String[] args) { int i; for(i=1; 1/i<=500; i++){ } System.out.println("この計算結果は"+i+"です"); } }