November 5th, 2012, 05:37 AM
C program to print pattern
hi guys i want to print this pattern
but my program runs into infinite loop..
i find printing patterns very hard any suggestions?
November 5th, 2012, 05:47 AM
Perhaps you should stop moving the goal-posts.
b <= 2
b <= 4 (when b is 2)
b <= 6 (when b is 3)