Advertisement
emaansahmed

Assignment #2 Pt. 2

Jan 28th, 2015
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.30 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     int A = 700;
  8.     int B = 800;
  9.     double directionAB;
  10.     double degreesAB;
  11.     directionAB = A / B;
  12.     double asin(double directionAB);
  13.     degreesAB = directionAB * 180 / 3.14159265;
  14.     cout << degreesAB << endl;
  15.  
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement