Untitled

mail@pastecode.io avatar
unknown
plain_text
21 days ago
290 B
1
Indexable
Never
#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; }





Leave a Comment