Manmohan loves pattern code is copying first and second row same number of columns


please look into my code. it is printing two number of columns in row number one and two. it should print only one digit in first row but it is not. please correct my code so that i can submit it on online judge.

@Anku47 hey just make col < row on line 13

is this code okay now to submit at online judge?

@Anku47 yes submit it after making the changes that i suggest you.