Only in C++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Only in C++

if an user gives the value of n=4 then the above output come . * * * * * * * * * *

29th Sep 2017, 6:46 PM
Arun
1 Answer
+ 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
22nd Oct 2017, 7:44 PM
Maya
Maya - avatar