Shoaib
Shoaib
Shoaib
while(row<=4)
{
while(column<row)//replace with<= to get 1st quad triangle
{cout<<"a";
column++;
}
while(column<5)//replace with<= to get 1st quad triangle
{
cout<<"*";
column++;
}
cout<<endl;
row++;
column=0;
}
return 0;
}