#include <iostream>
using namespace std;
int main(){
const float pi= 3.14159;
int deg;
cout<< "enter the angle in degrees= ";
cin>>deg;
float r=deg*pi/180;
cout<<"equivalent in radian is "<<r;
}
Output:
enter the angle in degrees= 90
equivalent in radian is 1.5708
Output:
need an explanation for this answer? contact us directly to get an explanation for this answer