#include"io.h" #include void OutPut(int* arr, int Arraylength) { for (int i = 0; i < Arraylength; i++) { if(arr[i]<10) { printf(" %d ", arr[i]); } else { printf("%d ", arr[i]); } } printf("\n"); } void InPutArrayLength(int* Arraylength) { printf("%s","请输入您想要获得的随机数组长度:\n"); scanf_s("%d",Arraylength); }