Untitled
Pattern 7user_6679955
c_cpp
9 months ago
182 B
4
Indexable
void nStarTriangle(int n) {
int n,m;
cin>>n>>m;
for(int i=0;i<n;i++){
for(int j=0;j<i;j++){
cout<<n/2 -i;
}
cout<<endl;
}
}Editor is loading...
Leave a Comment