Write a program to draw a symmetric shape of your own using C++ user-defined functions and arrays. The program should draw a shape in its original and opposite forms (black and white and then white and black). Please consider the following requiremen

Write a program to draw a symmetric shape of your own using C++ user-defined functions and arrays. The program should draw a shape in its original and opposite forms (black and white and then white and black).

 

Please consider the following requirements:

 

1) The shape should appear on the screen on its original colors and if you hit a "spacebar" the opposite shape should appear.



2) The program should keep doing that until a Esc key is pressed.

Field of study: 
No answers yet