C++ program to draw a square using the rectangle function
kw.cpp
Output
kodingwindow@kw:~$ g++ kw.cpp -lgraph
kodingwindow@kw:~$ ./a.out
What Next?
C++ program to draw a 3D square using the bar3d function
C++ program to draw a color-filled square using the bar function
C++ program to draw a left half ellipse using the ellipse function
Advertisement