Number Pattern in Java - using for loop

preview_player
Показать описание
We'll make a program using nested for loop to print the following pattern:
1
1 2 1
1 2 3 2 1
1 2 1
1

In this case n=3, we can change the value of n according to the given problem statement.

Feel free to post your queries and doubts in the comment section below...Just hope you are able to understand the logic and concept, please give some suggestions for improvement...Thankyou everyone ♡♥♡...!!!
Рекомендации по теме
Комментарии
Автор

Thank you. But what about the star above the 1 and below the last 1?

majone
Автор

Hello, would you do one on one tutoring?

majone
Автор

Hello. Will you do one on one tutoring?

majone
Автор

Hello. Hope all is well. On a problem like this, how did you come up with the logic to split the triangle pattern up in four ways?

majone
join shbcf.ru