zorojuro made the first post Apr 25, 2024 #1 C++: #include<iostream> using namespace std; int main(){ int n; cout << "Enter the Rows: "; cin >> n; for(int i=1;i<=n;i++){ for(int j=0;j<4+n-i;j++){ if(i==1 || i == n){ cout << '*'; }...
C++: #include<iostream> using namespace std; int main(){ int n; cout << "Enter the Rows: "; cin >> n; for(int i=1;i<=n;i++){ for(int j=0;j<4+n-i;j++){ if(i==1 || i == n){ cout << '*'; }...