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).

profileamaljuman

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.

 

attached bellow is an example

  • 10 years ago
  • 5
Answer(1)

Purchase the answer to view it

blurred-text
  • attachment
    aisha_.txt
Bids(1)