#K82357. Dice Roll Outcome Generation
Dice Roll Outcome Generation
Dice Roll Outcome Generation
In this problem, you are required to generate all possible outcomes of rolling two six-sided dice. There are a total of 36 outcomes because each die can show an integer from 1 to 6. The results must be printed to standard output with each outcome on a separate line and the two numbers separated by a single space.
The outcomes should be in lexicographical order: for each value of the first die from 1 to 6, the second die should iterate from 1 to 6 in increasing order.
Note: This problem does not require any input from STDIN.
inputFormat
This problem does not take any input from STDIN.
outputFormat
The output should consist of exactly 36 lines. Each line must contain two integers separated by a single space, representing the face values of the two dice.
## sample
1 1
1 2
1 3
1 4
1 5
1 6
2 1
2 2
2 3
2 4
2 5
2 6
3 1
3 2
3 3
3 4
3 5
3 6
4 1
4 2
4 3
4 4
4 5
4 6
5 1
5 2
5 3
5 4
5 5
5 6
6 1
6 2
6 3
6 4
6 5
6 6
</p>