Write a C++ Program to generate following output
//OUTPUT PROGRAM
//1
//22
//333
//......
#include
#include
void main()
{
int i,num,j;
clrscr();
cout<<"Enter number for corresponding output:- ";
cin>>num;
for(i=1;i<=num;i++)
{
for(j=1;j<=i;j++)
{
cout< }
cout<<"\n";
}
num--;
getch();
}