Untitled
unknown
plain_text
a year ago
290 B
8
Indexable
#include <iostream>
using namespace std;
int main()
{for (int i=0 ; i<=5 ; i++) {
for(int j=1 ; j<=6-i ; j++){
cout << ' ';
}
for(int j=1 ; j<2*i ; j++){
cout << '*';
}
cout<<endl;
}
return 0; }
Editor is loading...
Leave a Comment