Write a java for loop program to print the following pattern:
1
2 2
3 3 3
4 4 4 4
Answers
Answered by
0
Answer:
for(i=1,i<5,i++)
{
for(j=i,j<=i,j++)
{
print (j)
}
print("\n")
}
Similar questions