import java.io.*;
class make68{
String str;
String x3[]=new String[3];
String test1[]=new String[100*100];
String test2[]=new String[100*100];
String test3[]=new String[100*100];
int n,year,age;
double wife[][]=new double[100][100];
void makedata(){
try{
BufferedReader br68 =new BufferedReader(new FileReader("gdata/有配偶率.txt"));
for(n=0; n<94*55; n++){
str = br68.readLine();
x3=str.split(",");
test1[n]=x3[0];
test2[n]=x3[1];
test3[n]=x3[2];
}
br68.close();
}
catch(IOException e){ System.out.println("入出力エラーです。");}
for(n=0; n<94*55; n++){
year=Integer.valueOf(test1[n]);
age=Integer.valueOf(test2[n]);
wife[year][age]=Double.valueOf(test3[n]);
}
}
}
最終更新:2011年03月16日 12:35