C语言 定义一个长度为10的整型数组 用for语法?答:int arr[10]= {21,45,38,66,73,14,55,99,85,10};printArr(arr,10);sort(arr,10);printArr(arr,10);return 0;}
定义一个长度为10的整型数组,其值为{21,45,38,66,73,14,55,99,85,10...答:public static void main(String[] args) { int[] array = new int[1000];for (int i = 0; i < 1000; i++) { array[i] = i;} boolean loopFlag = true;while(loopFlag) { System.out.println("请输入字符:");Scanner sc = new Scanner(System.in);String result = sc.nextLine...