Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <math.h>
- using namespace std;
- int main(){
- float x = 0.2, ans = pow(sin(x), 2.0);
- int n = 12;
- while(n)
- ans = ans + pow(sin(sin(n--) + pow(sin(x), 2.0)), 2.0);
- printf("%.3f", ans);
- return 0;
- }
Add Comment
Please, Sign In to add comment