How to make a program in java for this? That there will be an symmetric cross. If n=3 it will look like that. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to make a program in java for this? That there will be an symmetric cross. If n=3 it will look like that.

*** *** *** ********* ********* ********* *** *** ***

11th Apr 2018, 10:58 PM
Саша Саша
Саша Саша - avatar
2 Answers
0
If input is n then: In n lines write: n spaces and n * In next n lines write: 3n * In next n lines write n spaces and n *
11th Apr 2018, 11:30 PM
Bartosz Pieszko
Bartosz Pieszko - avatar