Question: Create a C++ program to print bricks like these on the console window. To draw the rectangle create a function that will take 4 coordinates

Create a C++ program to print bricks like these on the console window. To draw the rectangle create a function that will take 4 coordinates x1,y1 and x2,y2 and 1 color of rectangle . x1,y1 will be the top-left coordinate while x2,y2 will be the bottom right coordinate.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
