#include <stdio.h>
int main() {
float grados, radianes;
const float Pi=3.1416;
printf("Introduce el valor del ángulo en grados:\n");
scanf("%f",&grados);
radianes=grados*(Pi/180);
printf("El valor del ángulo en radianes es: %f",radianes);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: