Jun-20-2020, 03:50 AM
so, what have you tried? what would be your strategy to achieve what you want? you can generate 6 single digits and combine them in a 6-digit number. or you can generate a number (0 <= number <= 999999) and left-fill in with 0 if number < 100000 (assuming e.g. 000001 is valid) or 100000 <= number <= 999999 if 000001 is not valid
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs