10.patterns
DESCRIPTION
cTRANSCRIPT
![Page 1: 10.Patterns](https://reader036.vdocuments.us/reader036/viewer/2022082315/5695cf9d1a28ab9b028ed2ee/html5/thumbnails/1.jpg)
C Programming
Assignment 10 Patterns 1
1. Write a program to print a triangle like the following: -11 11 1 11 1 1 11 1 1 1 1
2. Write a program to print a triangle like the following: -11 21 2 31 2 3 41 2 3 4 5
3. Write a program to print a triangle like the following: -12 34 5 67 8 9 1011 12 13 14
4. Write a program to print a triangle (Floyd’s Triangle) like the following: -11 2 11 2 3 2 11 2 3 4 3 2 11 2 3 4 5 4 3 2 1
5. Write a program to print a triangle like the following: -123451234123121
Designed by Er. Deep Raj Jangid
![Page 2: 10.Patterns](https://reader036.vdocuments.us/reader036/viewer/2022082315/5695cf9d1a28ab9b028ed2ee/html5/thumbnails/2.jpg)
C Programming
Assignment 10 Patterns 2
6. Write a program to print a triangle like the following: -123452345345455
7. Write a program to print a triangle like the following: -543214321321211
8. Write a program to print a triangle like the following: -543215432543545
9. Write a program to print a triangle like the following: -545345234512345
10. Write a program to print a triangle like the following: -121321432154321
11. Write a program to print a triangle like the following: -5
Designed by Er. Deep Raj Jangid
![Page 3: 10.Patterns](https://reader036.vdocuments.us/reader036/viewer/2022082315/5695cf9d1a28ab9b028ed2ee/html5/thumbnails/3.jpg)
C Programming
Assignment 10 Patterns 3
54543543254321
12. Write a program to print a triangle like the following: -122333444455555
13. Write a program to print a triangle like the following: -544333222211111
14. Write a program to print a triangle like the following: -555554444333221
15. Write a program to print a triangle like the following: -111112222333445
16. Write a program to print a triangle like the following: -123454321
Designed by Er. Deep Raj Jangid
![Page 4: 10.Patterns](https://reader036.vdocuments.us/reader036/viewer/2022082315/5695cf9d1a28ab9b028ed2ee/html5/thumbnails/4.jpg)
C Programming
Assignment 10 Patterns 4
123211
17. Write a program to print a triangle like the following: -1234567123451231
18. Write a program to print a triangle like the following: -12 41 3 52 4 6 81 3 5 7 9
19. Write a program to print a triangle like the following: -5555545555345552345512345
20. Write a program to print a triangle like the following: -12344321123**32112****211******1
21. Write a program to print a triangle like the following: - 1 2 3 4
Designed by Er. Deep Raj Jangid
![Page 5: 10.Patterns](https://reader036.vdocuments.us/reader036/viewer/2022082315/5695cf9d1a28ab9b028ed2ee/html5/thumbnails/5.jpg)
C Programming
Assignment 10 Patterns 5
5 6 7 8 9
22. Write a program to print a triangle like the following: -5432*543*154*215*321*4321
23. Write a program to print a triangle like the following: - 1 1 12 21 123 321 1234 4321 1234554321
24. Write a program to print a triangle like the following: -1212321234321234
25. Write a program to print a triangle like the following: -111111 11 11 111111
26. Write a program to print a triangle like the following: - 1 1 2 1 2 3
Designed by Er. Deep Raj Jangid
![Page 6: 10.Patterns](https://reader036.vdocuments.us/reader036/viewer/2022082315/5695cf9d1a28ab9b028ed2ee/html5/thumbnails/6.jpg)
C Programming
Assignment 10 Patterns 6
1 2 3 4 1 2 3 4 5
27. Write a program to print a triangle like the following: - 1
123 12345 1234567123456789 1234567 12345 123 1
28. Write a program to print a triangle like the following: -4444444433333443222344321234432223443333344444444
29. Write a program to print a triangle like the following: -12 43 6 94 8 12 16
Designed by Er. Deep Raj Jangid
![Page 7: 10.Patterns](https://reader036.vdocuments.us/reader036/viewer/2022082315/5695cf9d1a28ab9b028ed2ee/html5/thumbnails/7.jpg)
C Programming
Assignment 10 Patterns 7
5 10 15 20 256 12 18 24 30 367 14 21 28 35 42 498 16 24 32 40 48 56 649 18 27 36 45 54 63 72 8110 20 30 40 50 60 70 80 90 100
30. Write a program to print a triangle like the following: -1 1 2 2 3 3 4 3 3 2 2 1 1
Designed by Er. Deep Raj Jangid