Manmohan loves 2

#include

using namespace std;

int main()
{
int n,i,j;
cout<<“enter the number\n”;
cin>>n;
cout<<“1\n”;
if(n!=1)
{
for(i=1;i<n;i++)
{
cout<<i;
for(j=1;j<i;j++)
cout<<“0”;
cout<<i;
cout<<"\n";
}
}
}

please tell mistake

hello @ahujaxrhythm

check now->

sir same to tha mera bhi :confused:

ye nahi likna tha na, bus jaisa output format me mention hai usi format me likna hai