Or login with:
#include <math.h>| double | atan2 (double y, double x) |
| long | atan2l (long double y, long double x) |
| float | atan2f (float y, float x) |
#include <stdio.h> #include <math.h> int main(void) { double result, x = 90.0, y = 15.0; result = atan2(y, x); printf("The arc tangent ratio of %lf is %lf\n", (y/x), result); return 0; }
You must login to leave a messge