Does anybody know star code problem answer?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Does anybody know star code problem answer??

3 rows and 6 stars total * ** *** or *** ** *

19th Oct 2017, 7:26 PM
Biplab Ghosh
Biplab Ghosh - avatar
2 Answers
+ 3
** ** ** I don't know if this is a real problem, or if there is specifications to it, but it's a simple loop. for(int i = 0; i < 3; ++i) { System.out.println("**"); }
19th Oct 2017, 7:45 PM
AgentSmith
20th Oct 2017, 7:16 AM
Gaurav Agrawal
Gaurav Agrawal - avatar