The header file graphics.h contains
moveto() function which changes the current position to (x, y)
Syntax :
void moveto(int x, int y);
Examples :
Input : x = 70, y = 40
Output : 👁 Image
Input : x = 50, y = 80
Output : 👁 Image
Below is the implementation of moveto() function:
Output :
👁 Image