math.c 166 B

12345678910
  1. #include <math.h>
  2. #include <stdio.h>
  3. #include "test_helpers.h"
  4. int main(void) {
  5. double pi = 3.14;
  6. float c = cos(pi);
  7. printf("cos(%f) = %f\n", pi, c);
  8. }