fork download
  1. #include <stdio.h>
  2. #include <math.h>
  3.  
  4. int main() {
  5. double x = 3.2, U;
  6. U = cos(x) + sin(x);
  7. printf("Результат U = %.4f\n", U);
  8.  
  9. return 0;
  10. }
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
Результат U = -1.0567