#include iostreamusing namespace std;int main() {for(int row=0;row5;row=row+1) { if(row==0 || row==4) { for(int col=0;col10;col++) { cout"*"; } } else{ cout"*"; for(int i=0;i8;i++) { cout" "; } cout"*"; } coutendl; } }
Not registered? Create an account
Forgot Password?
Already a registered user? Login