This is the condition, the user must enter a set of integers that ranges from 0-9 (so therefore the user is free to use up to 10 digits) and no two numbers are the same. The user interface is like a calculator without the signs. I've done the array and the condition that 2 numbers can't be inserted the same time but I can't do the last condition where the numbers will be arrange, please help me. The name of the text box is Text1, 0 = Command10, 1 = Command1, 2 = Command2, 3 = Command3, 4 = Command4, 5 = Command5, 6 = Command6, 7 = Command7, 8 = Command8, 9 = Command9, Process = Command11.

Recommended Answers

All 2 Replies

Look up a bubble sort. That is the easiest sort to implement.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.