Square Pattern in C++

I am not solving this pattern. Help Me.

1 2 3 4 5
2 2 3 4 5
3 3 3 4 5
4 4 4 4 5
5 5 5 5 5

Hello anyone my doubt take?

Hi @kashyap_coding

Please use slack channels to ask doubts in the live courses. There are different TAs there to help you with this query.