Actually, my problem statement is, If I provide user input ‘3’ then in col2
First, three rows should be filled with ‘1’
The next three rows should be filled with ‘2’
The next three rows should be filled with ‘3’
The next three rows should be filled with ‘4’
Like this, it must write the number until the last row of col1.
I hope u got it.Tq