+ 1

Anyone else can help me to print this pattern?

Please help me to print this pattern using loops e e de ed cde edc bcde edcb abcdedcba

14th Feb 2019, 4:23 PM
Adam Mahendra
Adam Mahendra - avatar
3 Respuestas
0
I would try this: for (int i = 0; i <= row; i++){ for (int j = 0; j <= length of the row; j++){ print the line; //j = 0 first line; j = 1 second line... } System.out.println (); //start a new line }
15th Feb 2019, 12:07 AM
Denise Roßberg
Denise Roßberg - avatar
+ 1
Please share your attempt first
14th Feb 2019, 4:57 PM
Seniru
Seniru - avatar
15th Feb 2019, 12:09 AM
Denise Roßberg
Denise Roßberg - avatar