sir, can you please share the solution for 1st question in the assignment.
Couldn't able to solve the 1st question
in ith row you have print
- Numbers from i to 2*i -1
- Numbers from 2*(i-1) to i
for(i=1: n)
{
for(j=i : 2i - 1) cout<<j;
for(j= 2(i-1) : i) cout<< j;
cout<<endl;
}
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.