The "sqrt" function is used for calcution of the positive square root of a number.
double sqrt(double x);
The "sqrt" function accepts 1 parameters
#include <stdio.h> #include <math.h> #include<conio.h> int main() { double x,square_root; clrscr(); printf("\nEnter the number : "); scanf("%lf",&x); square_root = sqrt(x); printf("The square root is %lf\n", square_root); getch(); return 0; }