アットウィキロゴ

がめ1114

import java.io.*;

class game1114{

String str;
int n,mx;
String x[]=new String[3];
String test1[]=new String[10];
String test2[]=new String[10];
String test3[]=new String[10];

public static void main(String[] args) {
new game1114();
}


game1114(){

try{
BufferedReader br =new BufferedReader(new FileReader("test.txt"));
for(n=0; n<10; n++){
str = br.readLine();
x=str.split(",");    
test1[n]=x[0];
test2[n]=x[0];
test3[n]=x[0];

}
br.close();
for(n=0; n<10; n++){
mx=Integer.valueOf(test1[0]);
System.out.println(mx);
}

}
catch(IOException e){ System.out.println("入出力エラーです。");}





}






}
最終更新:2011年03月12日 07:30