Hi!

I'm trying to read some data from a file. Particularly, this file contains different statistics of different countries, as it follows:

"Country","Area","Density","HDI"
"France","643801.27","121.5","0.903"
"Italy","301230.45","201.3","0.895"
"Germany","357022.1","232.9","0.943"

Note: all statistics correspond to float data. Moreover, it contains more rows and columns.

Now I'm attempting to store each country statistics in an array. Therefore, after having opened the file, this is my code.

Code:
float France[3];
float Germany[3];
float Italy[3];
float store[9];

int i=0;

while(i<10){
  fscanf(file,"\"%f\"",store[i];
  i++;
}

for(i=0;i<3;i++){
  France[i]=store[i];
  Italy[i]=store[i+3];
  Germany[i]=store[i+6];
}
However, when I print the arrays France, Italy and Germany it prints 0.000000, so I think fscanf is not being well used. Why? What should I do?

Thank you very much.