Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main() {
- double sum = 0.0;
- for (int i = 1; i < 101; i++) {
- sum += 1.0 / (i * i);
- }
- printf("Сумма: %.6f\n", sum);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement