I created a program that :

1)write by keyboard a number A of 5 number digits
2)write all the combinations ( 2 digit ) using digits of number A
3)order the combinations

MY PROGRAM DO ALL THIS , but i don't know how to limit the combinations from 4 digits to 2 digits. thanks anf sorry for my bad english!!

https://www.dropbox.com/s/oqat55pxbt0eztb/prog33.txt

try this :
Click Here
sorry if that was not useful. please give me more information if your problem not solved. Amo l'Italia! viva l'Italia!

http://www.mediafire.com/?r1c21d7z26mfo7p hi :) the code you posted it's different but thanks.. i posted the correct code. but i've a LAST LITTLE PROBLEM. If i write 12321 , the program should print 11 12 13 21 22 23 31 32. and all this numbers are print in the fist line (in pink ) but every number should print only one times. if i digit 12321 , the program print 11, 12 , 12 ,13, 11 ,12 , 12, 13,21,21 ,22,23, 21, 21, 22, 23, ,31, 31,32, 32. how could change the code for print all the number only one time, IN THE FIST LINE ( pink numbers ) ??? really really thanks

hi my friend. I have modified your code : uffa.txt
sorry if there was any error , because I currently do not have any assembly compiler for debugging! but i sure to the algorithm.
tell me if there is any problem...

hi !!! really really thanks :) now the program print the right numbers, and only one times BUT unfortunately every combinations appears for 1 secon and disappear :'( i send you a video when the uploading is finish :)

noooo!!!!! i have change a little thing and the code run perfectly!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! really really really thanks !!! <3

commented: You're welcome! +0
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.