I am having trouble coming up with the function code for this. User will input a size which corresponds to the number of rows and number of columns that will be printed. For example, if the user gives a size of 5, this is what will be printed:
$$$$$
$$$$5
$$$55
$$555
$5555
Any help would be appreciated.