Question_4

PHOTO EMBED

Tue Apr 25 2023 13:03:59 GMT+0000 (Coordinated Universal Time)

Saved by @Mohamedshariif #java

1
222
33333
4444444
555555555


for(int line=1; line<=5; line++)
        {
            for(int j=1; j<=(2* line -1); j++)
            {
                System.out.print(line);
            }
            System.out.println();
        }
        
content_copyCOPY