public class RhombusPattern
{
{
int i, j, limit;
BufferedReader br =
for (i = 1; i <= limit; i++)
{
for (j = limit - i; j > 0; j--)
for (j = 1; j <= 2 * i - 1; j++)
}
for (i = limit - 1; i >= 1; i--)
{
for (j = 1; j <= limit - i; j++)
for (j = 1; j <= 2 * i - 1; j++)
}
}
}
Java program to implement Rhombus pattern reading the limit form user.
Reviewed by
on
September 05, 2019
Rating:
No comments: