Computer Science, asked by DvDeora2207, 1 year ago

How-to calculate square roots in c programming language?

Answers

Answered by aditya1984
0
#include <stdio.h>
#include <math.h>

int main()
{
double num = 6, squareRoot;

squareRoot = sqrt(num);
printf("Square root of %lf = %lf", num, squareRoot);

return 0;
}
Similar questions