by Triska
(Philippines)
I don't quite get the logic...it says in no. 4) Compare 4 and 1 , if second number is smaller Swap it. But on that time, I understand that I reads 3..and it says in line 80 that IF NO(I)>=NO(I-1) THEN GOTO 130...so I guess that is the part where numbers are switch...but then again if I is 3 at the time, then it should be: 1 (I) be compared with 5 (I-1, which is 2)...In which, in the end, you'll get: 4 1 5 3 6...
Join in and write your own page! It's easy to do. How? Simply click here to return to views.
Apr 04, 22 04:09 AM
Aug 13, 21 03:20 PM
Aug 13, 21 03:17 PM