well this is the program

#include <math.h>
#define PI 3.1416
#define MAX 180
int main(void)
{
int angle;
float x,y;