Question: write a c++ program on Microsoft visual studio . Write a function that displays at the left margin of the screen a solid square out
write a c++ program on Microsoft visual studio
. Write a function that displays at the left margin of the screen a solid square out of whatever character is contained in character parameter fillCharacter. Thus, if side is 5 and fill Character is #, then this function should print the following:(example of function: void square( int side, char fillCharacter ))Sample outputEnter a character and the side length: # 5
#####
#####
#####
#####
#####
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
