This question already has an answer here:
- Count up folks! 129 answers
So the Challenge is to give out all combinations with two Inputs. The length of the string is also optional and you should be able to edit this.
I've selected this channel because I thought it would be very easy to do it "normally" but the challenge itself could be very interesting. I had to create that for one of our employee to make a list with product numbers.
I quickly searched the site and I didn't found any other Challenges like this.
So the input doesn't have to be edited so you can just take the binary system [0,1]. But you have to set the length of the string or char of the output.
You can give out all the numbers in a file. You can decide the name and also the file type.
The Shortest program in characters wins.
Example Input and Output
000 001 010 100 101 110 111 011
00 01 10 11