View on GitHub How to use square root in C language Square Root On this page On this page Square Root Output ❮ Previous Next ❯ Square Root Program to use Square Root in C language #include <stdio.h> #include <math.h> int main() { double n, s; printf("Enter a number : "); scanf("%lf", &n); s = sqrt(n); printf("Square Root of %.2lf is %.2lf\n", n, s); return 0; } Output Enter a number : 36 Square Root of 36.00 is 6.00 ❮ Previous Next ❯