ex6.pp 234 B

123456789101112131415
  1. Program Example6;
  2. { Program to demonstrate the arctan2 function. }
  3. Uses math;
  4. Procedure WriteRadDeg(X : float);
  5. begin
  6. Writeln(X:8:5,' rad = ',radtodeg(x):8:5,' degrees.')
  7. end;
  8. begin
  9. WriteRadDeg (arctan2(1,1));
  10. end.