+ 1
Only in C++
if an user gives the value of n=4 then the above output come . * * * * * * * * * *
1 ответ
+ 4
I may be a little late, but I was looking through the unanswered questions and saw this, so I decided to try solving it.
Here are my solutions:
https://code.sololearn.com/cIVz0o5RbAgS/#cpp - this one is with ones on the places where you have the symbol * and zeros on the blank spaces
https://code.sololearn.com/cR3eZ1FJdOXX/#cpp - and this is the one with symbols
Hope you like it :D