假定 3行4列 整型 数组,生成 0到100之间的整数。 #includeusing namespace std;#include#include int main(){int a[3][4]; // 整型2维数组int i,j;int n=3, m=4; //行,列 srand(time(0)); // 随机种子for (j=0;jfor (j=0;jfor (i=0;iprintf("\n");} return 0; }