DEV Community

Nandini Chauhan
Nandini Chauhan

Posted on

Help with a pattern problem.

Hy Devs,
I'm learning Java for the first time. I don't have much programming experience. Can somebody help me with a pattern problem. We have to take an integer n from user and print the following pattern. If n is 4 then pattern will be as shown in code.
I just need some hint here.

Enter fullscreen mode Exit fullscreen mode

Top comments (0)