Implement Bouncing Ball Animation Using C Graphics #include <stdio.h> #include <conio.h> #include <graphics.h> #include <dos.h> void main() { /* request auto detection */ int gdriver = DETECT, gmode, err; int i = 0, x = 0, y = 0, flag = 0; /* initialize graphic mode */ initgraph(&gdriver, &gmode, "C:/TC/BGI"); /* ball movement */ while (x <= getmaxx() && !kbhit()) { /* set the current drawing color */ setcolor(LIGHTRED); /* fill the ball with given pattern & color */ ...