You have coordinates of point, and an angle. You need to calculate the coordinates of the new point, which are obtained as a result of rotating (counterclockwise) the original point by a given angle. You can find a formula here.
You will get three numbers: the x and y coordinates and the angle in degrees. Calculate new coordinates and round them before the output.
You've encountered a challenging problem — time to put your thinking cap on 💡🧢! The task statement and HINT should help you solve it; however, if this problem is too complex, you can postpone it and come back later to try and solve it.
Tip:
Correct formulas are:
x' = x*cos(angle) - y*sin(angle)y' = x*sin(angle) + y*cos(angle)