C language for beginners (part:-2)
21. Pattern 1
•
• •
• • •
• • • •
• • • • •
22. Pattern 2
• • • • •
• • • •
• • •
• •
•
23. Pattern 3
•
• •
• • •
• • • •
• • • • •
24. Pattern 4
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
25. Pattern 5
1
2 1
3 2 1
4 3 2 1
5 4 3 2 1
26. Pattern 6
A
B C
D E F
G H I J
K L M N O
27. Pattern 7
1
1 2 1
1 2 3 2 1
1 2 3 4 3 2 1
1 2 3 4 5 4 3 2 1
28. Pattern 8 (Binary Pattern)
1
0 1
1 0 1
0 1 0 1
1 0 1 0 1
29. Pattern 9
1 2 3 4 5
1 2 3 4
1 2 3
1 2
1
30. Pattern 10
1
2 1
3 2 1
4 3 2 1
5 4 3 2 1
31. Pattern 11
1 1
1 2 2 1
1 2 3 3 2 1
1 2 3 4 4 3 2 1
32. Floyd's triangle
1
2 3
4 5 6
7 8 9 10
11 12 13 14
33. Pyramid
*
* *
* * *
* * * *
* * * * *
34. Pyramid 2
*
*A*
*A*A*
*A*A*A*
*A*A*A*A*
35. Number Pyramid
1
232
34543
4567654
567898765
36. Pascal triangle
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
37. Pascal triangle without using function
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
38. Pascal triangle 2
1
121
12321
1234321
123454321
39. Number Alphabet Pattern
1
A B
2 3 4
C D E F
5 6 7 8 9
G H I J K L
40. Number Diamond Pattern
1
1 2 3
1 2 3 4 5
1 2 3 4 5 6 7
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7
1 2 3 4 5
1 2 3
1
41. Diamond of Numbers
1
2 2 2
3 3 3 3 3
4 4 4 4 4 4 4
5 5 5 5 5 5 5 5 5
4 4 4 4 4 4 4
3 3 3 3 3
2 2 2
1
42. Diamond Pattern
•
•••
•••••
•••
•
43. Diamond star outline
*
* *
* *
* *
* *
* *
*
44. Hollow Diamond
* * * * * * * *
* * * * * *
* * * *
* *
* * * *
* * * * * *
* * * * * * * *
45. Hollow Square
* * * * *
* *
* *
* *
* * * * *
46. Hourglass Pattern
* * * * * * * * *
* * * * * * *
* * * * *
* * *
*
* * *
* * * * *
* * * * * * *
* * * * * * * * *
47. Nested Star-Hash Pyramid
#####*#####
####*#*####
###*###*###
##*#####*##
#*#######*#
*#########*
48. Reverse star pyramid
* * * * * * * * *
* * * * * * *
* * * * *
* * *
*
49. Rhombus Pattern
1 1
2 2
3 3
4 4
5 5
4 4
3 3
2 2
1 1
50. Square kite pattern
1
2 2
3 3
4 4
3 3
2 2
1
51. Triangle with only border
*
* *
* *
* *
* *
* *
* * * * * *
NOT:- check it👇
this codes are used your future exams
Apply Now:- http://www.allcoding1.com
Telegram:- @allcoding1_official
21. Pattern 1
•
• •
• • •
• • • •
• • • • •
22. Pattern 2
• • • • •
• • • •
• • •
• •
•
23. Pattern 3
•
• •
• • •
• • • •
• • • • •
24. Pattern 4
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
25. Pattern 5
1
2 1
3 2 1
4 3 2 1
5 4 3 2 1
26. Pattern 6
A
B C
D E F
G H I J
K L M N O
27. Pattern 7
1
1 2 1
1 2 3 2 1
1 2 3 4 3 2 1
1 2 3 4 5 4 3 2 1
28. Pattern 8 (Binary Pattern)
1
0 1
1 0 1
0 1 0 1
1 0 1 0 1
29. Pattern 9
1 2 3 4 5
1 2 3 4
1 2 3
1 2
1
30. Pattern 10
1
2 1
3 2 1
4 3 2 1
5 4 3 2 1
31. Pattern 11
1 1
1 2 2 1
1 2 3 3 2 1
1 2 3 4 4 3 2 1
32. Floyd's triangle
1
2 3
4 5 6
7 8 9 10
11 12 13 14
33. Pyramid
*
* *
* * *
* * * *
* * * * *
34. Pyramid 2
*
*A*
*A*A*
*A*A*A*
*A*A*A*A*
35. Number Pyramid
1
232
34543
4567654
567898765
36. Pascal triangle
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
37. Pascal triangle without using function
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
38. Pascal triangle 2
1
121
12321
1234321
123454321
39. Number Alphabet Pattern
1
A B
2 3 4
C D E F
5 6 7 8 9
G H I J K L
40. Number Diamond Pattern
1
1 2 3
1 2 3 4 5
1 2 3 4 5 6 7
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7
1 2 3 4 5
1 2 3
1
41. Diamond of Numbers
1
2 2 2
3 3 3 3 3
4 4 4 4 4 4 4
5 5 5 5 5 5 5 5 5
4 4 4 4 4 4 4
3 3 3 3 3
2 2 2
1
42. Diamond Pattern
•
•••
•••••
•••
•
43. Diamond star outline
*
* *
* *
* *
* *
* *
*
44. Hollow Diamond
* * * * * * * *
* * * * * *
* * * *
* *
* * * *
* * * * * *
* * * * * * * *
45. Hollow Square
* * * * *
* *
* *
* *
* * * * *
46. Hourglass Pattern
* * * * * * * * *
* * * * * * *
* * * * *
* * *
*
* * *
* * * * *
* * * * * * *
* * * * * * * * *
47. Nested Star-Hash Pyramid
#####*#####
####*#*####
###*###*###
##*#####*##
#*#######*#
*#########*
48. Reverse star pyramid
* * * * * * * * *
* * * * * * *
* * * * *
* * *
*
49. Rhombus Pattern
1 1
2 2
3 3
4 4
5 5
4 4
3 3
2 2
1 1
50. Square kite pattern
1
2 2
3 3
4 4
3 3
2 2
1
51. Triangle with only border
*
* *
* *
* *
* *
* *
* * * * * *
NOT:- check it👇
this codes are used your future exams
Apply Now:- http://www.allcoding1.com
Telegram:- @allcoding1_official
👍6❤1
You :- Tatasteel exam is tomorrow can you help me
Me:- join this channel 👇
@allcoding1_official
@tata_steel_examAns
Me:- join this channel 👇
@allcoding1_official
@tata_steel_examAns
👍2