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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!