0

Can you explain the pattern related questions on java

Java Pattern related questions

6th Nov 2019, 4:29 PM
Mohann G M
Mohann G M - avatar
4 Answers
+ 1
You would create a for loop that handles one line in each cycle. Inside that you would have two more loops, the first one prints blank spaces, and the other prints stars (one character at a time) . Try to figure out how to define the loops, so that the correct number of symbols is printed. Count how many spaces and stars in each line, and try to come up with a formula based on the row number.
6th Nov 2019, 4:47 PM
Tibor Santa
Tibor Santa - avatar
0
Please describe what is the question exactly.
6th Nov 2019, 4:37 PM
Tibor Santa
Tibor Santa - avatar
0
******** ***** *** * Print pattern using the for loop and display output
6th Nov 2019, 4:38 PM
Mohann G M
Mohann G M - avatar
0
thnx sir
6th Nov 2019, 5:27 PM
Mohann G M
Mohann G M - avatar