shape 2

PHOTO EMBED

Sun Oct 08 2023 10:54:49 GMT+0000 (Coordinated Universal Time)

Saved by @yolobotoffender

#include <iostream>
using namespace std;

int main() {
                  
       /* *****
           ****
            ***
             **
              *  */

for(int r=1;r<=5;r++){
    
    for(int s=1;s<=6-r ;s++){
        cout<<' ';
    }
    
    for(int c=0;c<=5-r;c++){
        cout<<'*';
    }
    
    cout<<'\n';
    
    
}




        
        
  return 0;      
}
content_copyCOPY