
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