Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void pram (int h, int w);
- {
- for (int i=0; i<w; i++)
- for (int j = 0; j< h; j++)
- if ( i > 0 && i < w-1 && j > 0 && j < h-1 )
- cout << " ";
- else
- cout << "*";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement