The program must be in the following order:
It must allow the user to change the amplitude of the wave, Period of the wave, Direction of the text, Frame speed
I got the function code. But don't know to execute it full program.
My function code:
void GotoXY(int _iX, int _iY)
{
COORD point;
point.X= _iX;
point.Y= _iY;
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE);