Fri Oct 06 2023 15:12:57 GMT+0000 (Coordinated Universal Time)
Saved by @yolobotoffender
#include<iostream> #include<iomanip> #include<cmath> using namespace std; int main(){ int n,i; for(int n=42;n>=6;n = n-6){ cout<<" "<<setw(n-6)<<setfill(' ')<<' '<<setw(7)<<setfill('*')<<'\n'<<'\n'<<'\n'; } return 0; }
Copy this HTML code:
Preview:
open_in_newInstructions on embedding in Medium
Comments