Question: create a c++ program that moves rectangle left and right using arrow keys. Rectangle draw function will be recatngle(x1,y1,x2,y2,Color) x1,y1 will be the top left
create a c++ program that moves rectangle left and right using arrow keys. Rectangle draw function will be
recatngle(x1,y1,x2,y2,Color)
x1,y1 will be the top left co ordinates while x2,y2 will be bottom right co ordinates
the rectangle must move right and left upon pressing arrow keys
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
