scanf

float a[3][3];

for(i=0;i<3;i++)
  for(j=0;j<3;j++)
  scanf("%f",&a[i][j]);

原文地址:https://www.cnblogs.com/greencolor/p/1687097.html