Solution for Exercise 11-13
ex1113
#include <stdio.h> int main() { float degrees,radians; printf("Enter an angle in degrees: "); scanf("%f",°rees); radians = 0.0174532925*degrees; printf("%.2f degrees is %.2f radians.\n",degrees,radians); return(0); }
Notes
* Here's the output using the sample suggested in the book:
Copyright © 1997-2024 by QPBC.
All rights reserved