Computer Science, asked by Avayviolet7758, 1 year ago

Write a program to receive value of an angle in degrees

Answers

Answered by praveenbhaski
2
#include<stdio.h>
         #include<math.h>
        int main()
       {
        float degree;
        int sum;
        printf("enter the value of angle in Degree");

        scanf("%f",&degree);

        sum=(sin(degree)*sin(degree))+(cos(degree)*cos(degree));

        printf("%d",sum);

       getch();
       }
It is the C program  to receive value of an angle in degree and check whether sum of squares of sine & Cosine of the Angle is equal to 1
Similar questions