Answer to Question #36337 in Java | JSP | JSF for vijay

Question #36337
WRITE A PROGRAMME CODE:(JAVA/C++)

Take the Numbers from 1 to 10 and the numbers should print five numbers in each line like below,
The output is not printing all combinations of the numbers, the numbers are missing because the logic you need to use its a four number matching system and you can see the numbers below how they printing.

output as follows:

6 7 8 9 10
4 5 8 9 10
4 5 6 7 10
3 5 7 9 10
3 5 6 8 10
3 4 7 8 10
3 4 6 9 10
2 5 7 8 10
2 5 6 9 10
2 4 7 9 10
2 4 6 8 10
2 4 5 8 9
2 3 8 9 10
2 3 6 7 10
2 3 4 5 10
1 3 7 8 9
1 3 5 6 9
1 3 4 6 8
1 3 4 5 7
1 2 6 8 9
1 2 5 7 9
1 2 4 7 8
1 2 4 6 9
1 2 3 5 8
0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS