' エラトステネスのふるい ' 正しい結果が出力されるように???を修正する ??? For i=2 to 100 ??? EndFor For j = 2 To ??? For i = 2 To ??? If ??? Then ??? EndIf EndFor EndFor cnt = 0 For i = 1 To 100 If ??? Then TextWindow.Write(i+" ") cnt = cnt + 1 EndIf EndFor TextWindow.WriteLine("") TextWindow.WriteLine("100までの素数は" + cnt + "個")