#include #include void main() { int rows, b, c; char choice; do { clrscr(); cout<<"Enter number of rows \n\"Value should be > 1\" \n"; cin>>rows; cout<=b; c--) { cout<<"*"; } for (c=1; c<=(b*2)-2; c++) { cout<<" "; } for (c=rows; c>=b; c--) { cout<<"*"; } cout<=(b*2)-(rows-1); c--) { cout<<" "; } for (c=1; c<=b; c++) { cout<<"*"; } cout<>choice; } while (choice=='Y' || choice=='y'); } /*-------------------------- cout<=(b*2)-6; c--) { cout<<" "; } for (c=1; c<=b; c++) { cout<<"*"; } cout<