Computer Science, asked by dipesh8051, 11 months ago

Hello mates...

here is your question...

Write a java program to print the following pattern:
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5​

Answers

Answered by Adarshthakur11
3

Answer:

don't know the language but I can help you with the loops

Explanation:

loop part=>

{

for( i =1; i<=5;i++)

for(j=i;j<=i;j++)

print (i)

print(\n)

}

hope it helps you

Answered by Anonymous
3

come on my question......

Similar questions