Pattern Numbers & Stars - 1

4 test cases failed

Hi @Ankur-Ankur-937479863269311
In the line for(col=1;col<=2*(5-row)-1;col++) instead of 5 you should use n then all your test cases will pass.