You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Question: Write a program to print Nth point from a Square Spiral where
A Square Spiral is set of points on a graph starting from (0,0) and spirals in a square shape.
E.x:
(0,0)
(0,1)
(1,1)
(1,0)
(1,-1)
(0,-1)
(-1,-1) and so on