0

Please drow my pattern

********** ****. .**** ***. . . .*** **. . . . . .** *. . . . . . . .*

17th Jan 2018, 2:53 PM
Sachin Saini
Sachin Saini - avatar
8 ответов
+ 3
public class Program { public static void main(String[] args) { int i, j, N = 5; for( i = 0; i < N; i++ ) { for( j = 0; j < 5 - i; j++ ) { System.out.print("*"); } for( j = 0; j < i; j++ ) { System.out.print(".."); } for( j = 0; j < 5 - i; j++ ) { System.out.print("*"); } System.out.println(); } } }
18th Feb 2018, 10:16 AM
visph
visph - avatar
+ 1
What do you mean?
17th Jan 2018, 5:04 PM
Robyn A
Robyn A - avatar
+ 1
In a code?
17th Jan 2018, 7:04 PM
Robyn A
Robyn A - avatar
+ 1
I would help you, but I'm sorry, Java is one of my worst languages.
17th Jan 2018, 7:50 PM
Robyn A
Robyn A - avatar
+ 1
I'm really not the person to ask, I'm really bad at this sort of stuff.
17th Jan 2018, 8:57 PM
Robyn A
Robyn A - avatar
0
can u help me to design this pattern
17th Jan 2018, 5:18 PM
Sachin Saini
Sachin Saini - avatar
0
yes
17th Jan 2018, 7:21 PM
Sachin Saini
Sachin Saini - avatar
0
just give me the logic
17th Jan 2018, 8:08 PM
Sachin Saini
Sachin Saini - avatar