Saturday, March 1, 2014

To print the pattern of rectangle entering the desired rows and columns

In this I have written the program to print the pattern of rectangle using loop. For more idea the souce code has been given below:

The sample pattern of rectangle is like this:
* * * * * *
* * * * * *
* * * * * *
The output of the above program is given below:

No comments:

Post a Comment