A program that read a value n & display cot inverse(n) in C.

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

void main()
{
    float v,inverse;
    clrscr();
    printf("Enter any value = ");
    scanf("%f",&v);
    inverse=atan(1.0/v)*180/M_PI;
    printf("\nCot Inverse(%.2f) = %.2f",v,inverse);
    getch();
}


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