So this is the rectangle program where program prompts user for height, width, and a char to draw the box/rectangle. Professor wants us to implement two functions where the PrintChar only receives two parameters and does the printing while PrintBox does the calculations... I'm pretty inexperienced and this is what I have so far and im stuck... the videos and old post i've seen isn't clicking in my brain and was hoping someone can finish/explain the looping structure to me... may need to drop this course sadly...

Need help on this Rectangle Program-hw02-jpg