They asked to write a program for the game in the console.
The task itself : The gun has a fixed position on the screen, the X coordinate of the target is set from the terminal, the angle a is also set - the slope of the tangent to the ballistic curve at the starting point (the angle of the tool) and the initial velocity of the projectile V0. During the game you need to choose a value of the initial velocity, so that the projectile hit the target. It is necessary to sequentially display on the screen all phases of the projectile movement (with the necessary delays), and at each subsequent time point it is necessary to erase the previous projectile position by outputting a point to this place (thus, the projectile’s trajectory will remain on the screen).
I am at a dead end, I do not know where to start. I wrote only the menu.