Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // tinh can bac 2 so thuc
- // Khai bao thu vien neu co
- #include<stdio.h>
- #include<conio.h>
- #include<math.h> // khai bao ham thu vien neu su dung sqrt
- void main()
- {
- double n;
- scanf("%lf",&n);
- printf(" Can bac 2 so thu la: \n");
- printf("%.4lf\n",sqrt(n));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement