Showing posts with label pattern. Show all posts
Showing posts with label pattern. Show all posts

Sunday, March 30, 2014

To print pattern of numbers


Lets learn more about printing of pattern of numbers. In this page I have written the program to print the pattern of numbers.
The pattern would be like this:
       1
     123
    12345
  1234567
To get more idea have a look for the source code and the output below:
The source code of the above output is:



Sunday, March 9, 2014

To display the pattern


As earlier page in this page also I have written the program to display the following pattern.
0
1 0
0 1 0
1 0 1 0
0 1 0 1 0
1 0 1 0 1 0
The output for the above program is:
The source code for the above program is:


To display pattern of numbers


In this page I have written a simple program to display the pattern of numbers. To get more idea have a look for the source code and the output of the following progr
The output of the following program is:
The source code of the above output is:

Wednesday, February 26, 2014

To print the pattern in triangular shape using string


In this programme I have used string to print the pattern of triangle.
For this