#include<iostream.h>
void main()
{
int x;
cout<<"This program is Giving you A nice show for your number Exampel:\nIf you enered number 5, the output will be:\n";
x=5;
for(int i=1;i<=x;i++)
{
for(int j=1; j<=i;j++)
cout<<i<<" ";
cout<<endl;
}
cout<<endl;
while(cin)
{
cout<<"Enter Number: ";
cin>>x;
for(int i=1;i<=x;i++)
{
for(int j=1; j<=i;j++)
cout<<i<<" ";
cout<<endl;
}
cout<<endl;
}