Name: Anonymous 2020-09-12 19:09
#include <iostream>
using namespace std;
int main()
{
int i,j,rows;
cout<<"Enter the number of niggers: ";
cin>>rows;
for(i=1;i<=rows;++i)
{
for(j=1;j<=i;++j)
{
cout<<"* ";
}
cout<<"\n";
}
return 0;
}
/*
OUTPUT:
Enter the number of niggers: 5
*
* *
* * *
* * * *
* * * * *
*/
using namespace std;
int main()
{
int i,j,rows;
cout<<"Enter the number of niggers: ";
cin>>rows;
for(i=1;i<=rows;++i)
{
for(j=1;j<=i;++j)
{
cout<<"* ";
}
cout<<"\n";
}
return 0;
}
/*
OUTPUT:
Enter the number of niggers: 5
*
* *
* * *
* * * *
* * * * *
*/