u have to include whole math.h but in the current case i dont think we need that. u van have ur own logic