Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<conio.h>
- main ()
- {
- int i,n;
- printf("/nNhap so n ");
- scanf("%d", &n);
- float S=1;
- for(i=1;i<=n;i++)
- {
- S=sqrt(S+sqrt(i));
- }
- printf ("Tong S la %f", S);
- getch();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement