Advertisement
Atheuz

Untitled

Oct 6th, 2011
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.24 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <math.h>
  4.  
  5. int main()
  6. {
  7.     int tal, result;
  8.  
  9.     printf("Enter integer\n");
  10.     scanf("%d", &tal);
  11.  
  12.     result = abs(floor(sin(tal)*10));
  13.  
  14.     printf("%d", result);
  15.     return 0;
  16. }
  17.  
  18.  
  19.  
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement