A program that read a value n & display sec inverse(n) in Cpp.

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

void main()
{
    float v,inverse;
    clrscr();
    cout<<"Enter any value = ";
    cin>>v;
    if(v<1)

        cout<<"Its Impossible; Please Enter number greater than 1.";
    else
    {
        inverse=acos(1.0/v)*180/M_PI;
        cout<<"\nSec Inverse("<<v<<") = "<<inverse;
    }
    getch();

}


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