A program that read any angle θ and display cot(θ) in C.

#include<stdio.h>
#include<conio.h>
#include<math.h>

void main()
{
    int angle;
    float v;
    clrscr();
    printf("Enter any angle = ");
    scanf("%d",&angle);
    v=cot(angle*M_PI/180);
    printf("\nCot(%d) = %.2f",angle,v);
    getch();
}


///////////////////////////////////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........