+2

What is the error in this program to be diamond pattern. https://code.sololearn.com/cQjogMIXsmWB/?ref=app

1 Answer

New Answer

+4

Please link you code in description not in question. edit: Shivam Tiwari From Kanpur ( India) there is no error in your code, you just need to add a printf("\n") after line 26 also do check this out : https://www.sololearn.com/Discuss/333866/?ref=app