Rookie problem! Please expert

xiaoxiao2021-03-06  67

My program is: Define two arrays, each array, any 5 numbers are sorted by each array, then combined with two arrays, and finally use a C [10] array Press from small to large printing! The procedure is as follows, #include void main () {const Int n = 5; INT I, J, SMALL, A [N], B [N]; COUT << "Input A [5]" << Endl; for (i = 0; i > a [i]; cout << "INPUT B [5]" << endl; for (i = 0; i > b [i]; for (i = 0; i Large) ---" << Endl; for (i = 0; i < 10; i ) cout << c [i] << ""; cout << Endl;} Please talked! Why can't you sort?

转载请注明原文地址:https://www.9cbs.com/read-88191.html

New Post(0)