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];
double data[][]=new double[3][10];
public static void main(String[] args) {
new game1114();
}
game1114(){
inputdata();
System.out.println(data[2][2]);
}
void inputdata(){
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();
}
catch(IOException e){ System.out.println("入出力エラーです。");}
for(n=0; n<10; n++){
data[0][n]=Double.valueOf(test1[n]);
data[1][n]=Double.valueOf(test2[n]);
data[2][n]=Double.valueOf(test3[n]);
}
}
}
最終更新:2011年03月12日 07:40