Patterns in Java
Patterns in Java
Problems:
1. Print the following Square Pattern
*****
*****
*****
*****
*****
*********
*******
*****
***
*
5. Print the following Rhombus
*****
*****
*****
*****
*****
6. Print the Following star pattern-single right arrow:
*
**
***
****
*****
******
*******
********
*********
**********
***********
***********
**********
*********
********
*******
******
*****
****
***
**
*
16. Print the Box filled with 1's and 0's forming a plus sign If the
Input is even,reduce it to one number down. Eg: If the input is 10,
make it as 9.
111101111
111101111
111101111
111101111
000000000
111101111
111101111
111101111
111101111
* *
** *
** *
* * *
* * *
* * *
* * *
* **
* **
* *
**********
*
*
*
*
*
*
*
*
**********