0
How to print a specific pattern?
If want the output * ** ***
1 Resposta
+ 1
#include <iostream>
using namespace std;
int main()
{
for(int i=0;i<=5;i++){
for(int j=0;j<=i;j++) {
cout<<"*" ;
}
cout<<endl;
}
return 0;
}