C程序编程:给一小于五位正整数,求出位数?按逆序输出,123输出321?答:main( ){ long int x;int a,b,c,d,e,num;printf("请输入想查询的数(5位以内)");scanf("%ld",&x);if (x>9999) num=5;else if (x>999) num=4;else if (x>99) num=3;else if (x>9) num=2;else num=1;printf("x=%ld num=%d\n",x,num);a=x/10000...
python的题目?答:3.生成包含100个100以内的随机正整数的元组,统计每个数出现的次数。生成包含100个100以内的随机正整数的元组,统计每个数出现的次数。4.输入5X5的矩阵a,完成下列要求:a.输出矩阵ab.将第2行和第5行元素对调后,再重新输出a a.a = [[1, 2, 3, 4, 5], [6, 7, 8, 9, 10], [...