import java.io.*;
class game0308{
public static void main(String args[])throws Exception {
int t;
try{
PrintWriter pw = new PrintWriter
(new BufferedWriter(new FileWriter("data0308.csv")));
for (t=1;t<100;t++){
pw.print(t);
pw.print(",");
pw.println(t);
}
System.out.println("ファイルに書きこみました。");
pw.close();
}
catch(IOException ep){ System.out.println("入出力エラーです。"); }
}
}
最終更新:2011年02月18日 10:27