Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <math.h>
- int main()
- {
- float a, b, c, d;
- int i;
- a=0.1;b=0.1;
- for (i=0;i<9;i++)
- {
- c=sin(b);
- d=cos(a);
- printf("cos=%f ", c);
- printf("sin=%f\n", d);
- b=b+0.1;
- a=a+0.1;
- }
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement