Showing posts with label Number Patterns. Show all posts
Showing posts with label Number Patterns. Show all posts

Sunday, May 27, 2018

Number Patterns

Number pattern programs in C

Number pattern is a series of numbers arranged in specific order. These patterns are patterns created by numbers and are similar to star patterns. They are best suited to enhance your logical thinking abilities and to practice flow control statements.

I have assembled a list of number patterns to practice for both novice as well as intermediate programmers. Practice more and more of it, to enhance your logical thinking.

Always feel free to drop down your queries and suggestions below in the comments section. I always love to hear from hugs and bugs from you.

Required knowledge

Basic C programming, Operators, If else, Nested If else, For loop, Nested loop

List of Number pattern programming exercises

Square number patterns


11111
11111
11111
11111
11111

Number pattern 1(Click Me)

11111
00000
11111
00000
11111

Number pattern 2(Click Me)

01010
01010
01010
01010
01010

Number pattern 3(Click Me)

11111
10001
10001
10001
11111

Number pattern 4(Click Me)

11111
11111
11011
11111
11111

Number pattern 5(Click Me)

10101
01010
10101
01010
10101

Number pattern 6(Click Me)

11011
11011
00000
11011
11011

Number pattern 7(Click Me)

10001
01010
00100
01010
10001

Number pattern 8(Click Me)

10001
01110
10001
10001
10001
01110

Number pattern 9(Click Me)

11111
22222
33333
44444
55555

Number pattern 10(Click Me)

12345
12345
12345
12345
12345

Number pattern 11(Click Me)

12345
23456
34567
45678
56789

Number pattern 12(Click Me)

1 2 3 4 5
6 7 8 9 10
11 12 13 14 15
16 17 18 19 20
21 22 23 24 25

Number pattern 13(Click Me)

55555
54444
54333
54322
54321

Number pattern 14(Click Me)

12345
23455
34555
45555
55555

Number pattern 15(Click Me)

12345
23451
34521
45321
54321

Number pattern 16(Click Me)

12345
21234
32123
43212
54321

Number pattern 17(Click Me)

5 5 5 5 5 5 5 5 5
5 4 4 4 4 4 4 4 5
5 4 3 3 3 3 3 4 5
5 4 3 2 2 2 3 4 5
5 4 3 2 1 2 3 4 5
5 4 3 2 2 2 3 4 5
5 4 3 3 3 3 3 4 5
5 4 4 4 4 4 4 4 5
5 5 5 5 5 5 5 5 5

Number pattern 18(Click Me)

1 2 3 4 5
16 17 18 19 6
15 24 25 20 7
14 23 22 21 8
13 12 11 10 9

Number pattern 19(Click Me)

Triangle Easy Number Patterns


1
22
333
4444
55555

Number pattern 20(Click Me)

55555
4444
333
22
1

Number pattern 21(Click Me)

11111
2222
333
44
5

Number pattern 22(Click Me)

5
44
333
2222
11111

Number pattern 23(Click Me)

5
1
12
123
1234
12345

Number pattern 24(Click Me)

12345
1234
123
12
1

Number pattern 25(Click Me)

1
21
321
4321
54321

Number pattern 26(Click Me)

54321
4321
321
21
1

Number pattern 27(Click Me)

5
54
543
5432
54321

Number pattern 28(Click Me)

54321
5432
543
54
5

Number pattern 29(Click Me)

5
45
345
2345
12345

Number pattern 30(Click Me)

12345
2345
345
45
5

Number pattern 31(Click Me)

1
23
345
4567
56789

Number pattern 32(Click Me)

56789
4567
345
23
1

Number pattern 33(Click Me)

13579
3579
579
79
9

Number pattern 34(Click Me)

Triangle 0,1 Easy Number Patterns


1
10
101
1010
10101

Number pattern 35(Click Me)

1
00
111
0000
11111
Number pattern 36(Click Me)

1
01
010
1010
10101
Number pattern 37(Click Me)

1
11
101
1001
11111

Number pattern 38(Click Me)

Triangle Hard Number Patterns


1
123
12345
1234567
123456789

Number pattern 39(Click Me)

1
24
135
2468
13579

Number pattern 40(Click Me)

1
131
13531
1357531
135797531

Number pattern 41(Click Me)

2
242
24642
2468642
2468108642

Number pattern 42(Click Me)

1
121
12321
1234321
123454321

Number pattern 43(Click Me)

1
32
4543
567654
67898765

Number pattern 44(Click Me)

1
2 3
4 5 6
7 8 9 10
11 12 13 14 15

Number pattern 45(Click Me)

1
21
123
4321
12345

Number pattern 46(Click Me)

1
23
4567
89123456
7891234567891234

Number pattern 47(Click Me)

1 1
12 21
123 321
1234 4321
1234554321

Number pattern 48(Click Me)

1
2 6
3 7 10
4 8 11 13
5 9 12 14 15

Number pattern 49(Click Me)

1
2 4
7 11 16
22 29 37 46
56 67 79 92 106

Number pattern 50(Click Me)

1
3 2
4 5 6
10 9 8 7
11 12 13 14 15

Number pattern 51(Click Me)

1
22
333
2222
11111

Number pattern 52(Click Me)

N = 12345



12345
1234
123
12
1

Number pattern 53(Click Me)

N = 12345



12345
2345
345
45
5
Number pattern 54(Click Me)

Diamond Number Patterns


1
12
123
1234
12345
1234
123
12
1

Number pattern 55(Click Me)

1
123
12345
1234567
123456789
1234567
12345
123
1

Number pattern 56(Click Me)

1
121
12321
1234321
123454321
1234321
12321
121
1

Number pattern 57(Click Me)

*
*1*
*121*
*12321*
*1234321*
*123454321*
*1234321*
*12321*
*121*
*1*
*

Number pattern 58(Click Me)

Tricky Number Patterns


1 1
2 2
3 3
4 4
5
4 4
3 3
2 2
1 1
Number pattern 59(Click Me)



Instagram