+ 1

Help me with this code

Hello Who i can do code to print stars like this * * * * * * * * * * *

23rd May 2019, 10:50 AM
Yazan
Yazan - avatar
6 odpowiedzi
+ 5
All you need is understanding on loops, piece of paper and pencil.
23rd May 2019, 10:59 AM
Seb TheS
Seb TheS - avatar
+ 2
Can you show us some code where you struggle? We wont give you the complete code. If you want a complete code you can look trough the codes here on sololearn as many have allready programmed something like this.
23rd May 2019, 10:54 AM
Dragonxiv
Dragonxiv - avatar
+ 2
for begin try this * * * * * *
23rd May 2019, 3:51 PM
zemiak
+ 2
ok and now add some if else. Like System.out.print(k==1? "*": " "); ...
23rd May 2019, 6:02 PM
zemiak
+ 1
i know do this code * * * * * *
23rd May 2019, 4:04 PM
Yazan
Yazan - avatar
23rd May 2019, 4:06 PM
Yazan
Yazan - avatar