06-21-2011, 04:39 PM
Thanks for posting it this way! It's better if I figure it out myself.
But I'm going to use your advice,
So let's see:
int i is to the length of the num array which would be
0
1
2
3
4
5
6
7
8 right?
int j is equal to int i plus 1 which would be
1
2
3
4
5
6
7
8
9
num[i] is less than num[j] which means t equals num[i] which is equal to num[j]?
21
52
13
74
45
86
37
98
69
Am I on the right track?
But I'm going to use your advice,
So let's see:
int i is to the length of the num array which would be
0
1
2
3
4
5
6
7
8 right?
int j is equal to int i plus 1 which would be
1
2
3
4
5
6
7
8
9
num[i] is less than num[j] which means t equals num[i] which is equal to num[j]?
21
52
13
74
45
86
37
98
69
Am I on the right track?