Introduction - If you have any usage issues, please Google them yourself
In this program, number of rows and columns are taken as input. For loop is uesd to diplay the output in a matrix format with each values in a rows and columns as a specific character(*). Try-catch block (Exception) is used to handle errors.