home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c025 / 1.ddi / ACOS.C < prev    next >
Encoding:
Text File  |  1985-01-21  |  190 b   |  10 lines

  1. main()    /* acos.c -- obtains arc cosine of a number */
  2. {
  3.  
  4. double number, result;
  5. number = 0.5;
  6. result = acos(number);
  7. printf("%f", result);
  8. /*    The correct answer is:  1.047198 */
  9. }
  10.