+ 1
Help me with this code
Hello Who i can do code to print stars like this * * * * * * * * * * *
6 odpowiedzi
+ 5
All you need is understanding on loops, piece of paper and pencil.
+ 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.
+ 2
for begin try this
*
*
*
*
*
*
+ 2
ok and now add some if else. Like
System.out.print(k==1? "*": " ");
...
+ 1
i know do this code
*
*
*
*
*
*
+ 1
this my code for stars
https://code.sololearn.com/cwWW7wS25658/?ref=app