Tuesday 3 September 2013

C Programming for beginners, Patterns using nested for loop


Click on Link to view source code for the drawn pattern.


Pattern 1 Pattern 2 Pattern 3 Pattern 4
*
**
***
****
*****
*****
****
***
**
*
*
**
***
****
*****
*****
****
***
**
*
Pattern 5 Pattern 6 Pattern 7 Pattern 8
*
**
***
****
*****
****
***
**
*
*
**
***
****
*****
****
***
**
*
 *
* *
* * *
* * * *
* * * * *
* * * * *
* * * *
* * *
* *
 *
Pattern 9 Pattern 10 Pattern 11 Pattern 12
*
***
*****
*******
*********
*********
*******
*****
***
*
*
***
*****
*******
*********
*******
*****
***
*
1
23
456
7890
12345
Pattern 13 Pattern 14 Pattern 15 Pattern 16
1
10
101
1010
10101
1
22
333
4444
55555
A
BC
DEF
GHIJ
KLMNO
A
BB
CCC
DDDD
EEEEE
Pattern 17Pattern 18 Pattern 19 Pattern 20
1
33
555
7777
99999
0
22
444
6666
88888
1
13
135
1357
13579
0
02
024
0246
02468
Pattern 21 Pattern 22 Pattern 23 Pattern 24
1
35
791
3579
13579
A
AC
ACE
ACEG
ACEGI
B
BD
BDF
BDFH
BDFHJ
A
AB
ABC
ABCD
ABCDE



Link will be available in short time.....

No comments:

Post a Comment

Contact Form

Name

Email *

Message *