write a java program to print the pattern
Answers
Answered by
0
please type the entire question
Answered by
3
HEYA FRIend,,
u din mention about which program hence i m giving u soln of a simple program
class PATTERN1
{
public static void main()
{
int i, j;
for(i=0; i<5; i++)
{
for(j=0; j<=i; j++)
{
System.out.print("*");
}
System.out.println();
}
}
output's like
*
**
***
****
*****
HOPE IT HELPS!!!!!!!!!!!
u din mention about which program hence i m giving u soln of a simple program
class PATTERN1
{
public static void main()
{
int i, j;
for(i=0; i<5; i++)
{
for(j=0; j<=i; j++)
{
System.out.print("*");
}
System.out.println();
}
}
output's like
*
**
***
****
*****
HOPE IT HELPS!!!!!!!!!!!
Similar questions
English,
9 months ago
Computer Science,
9 months ago
Geography,
1 year ago
English,
1 year ago
Biology,
1 year ago