Originally Posted by tomoyo_13m
it needs to print 10 number from 0-9 without repeating.. not nessesarily 0-9 it can be 11-20 as long as it display 10 numbers without repeating
The above program by coderzone does exactly same. If you need the range to be between any definite set change the condition accordingly.
Its always good to help somebody with the program logic but its not good to put the complete program as a whole so that he does not need to anything but just copy and paste.