Quote:
Originally Posted by cnoobprogrammer View Post
Hi.
Your code is nice.
May I ask why do you use 2 for loop in this case?

Appreciate your help!
Have you tried any sorting algorithms?