Session-1 Problem - 2
Due on 2020-12-04, 11:00 IST
Write a program which accepts number of rows and columns and prints a hollow rectangle using asterisk (*) symbol as given in the example. (Please note that the printing starts from the first row and first column, do not use any blank space between two asterisk (*), use \n for next row.
For row =6 and column = 20
********************
* *
* *
* *
* *
********************
No comments:
Post a Comment