Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
1 2 * 2
3 * * * 3
4 * * * * * 4
5 * * * * * * * 5
6 5 4 3 2 1 2 3 4 5 6
5 5
4 4
3 3
2 2
1 1
2 2
3 3
4 4
5 5
6 5 4 3 2 1 2 3 4 5 6
Posted
Comments
Sergey Alexandrovich Kryukov 17-Dec-14 2:02am    
What have you tried so far?
—SA
Legor 17-Dec-14 3:26am    
Is this your homework?
Richard MacCutchan 17-Dec-14 3:50am    
Think about what common patterns you can see in these lists, and what repeated instructions you need to create them. It is just a matter of creating a set of rules and then converting that to C language.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900