<Program Description>
Output a pair of natural numbers that add up the three numbers to become 10.
Print out all pairs and print out the total number on the last line
<Program Conditions>
(1) Use the for loop.
(2) Make sure that 6 pairs are printed on a line.
<Output Conditions>
(1) Write a program so that it is output as similar as possible to the output
screen below.
(1,1,8) (1,2,7) (1,3,6) (1,4,5) (1,5,4) (1,6,3)
(1,7,2) (1,8,1) (2,1,7) (2,2,6) (2,3,5) (2,4,4)
(2,5,3) (2,6,2) (2,7,1) (3,1,6) (3,2,5) (3,3,4)
(3,4,3) (3,5,2) (3,6,1) (4,1,5) (4,2,4) (4,3,3)
(4,4,2) (4,5,1) (5,1,4) (5,2,3) (5,3,2) (5,4,1)
(6,1,3) (6,2,2) (6,3,1) (7,1,2) (7,2,1) (8,1,1)
Total number:36