Computer Science, asked by Amir119, 1 year ago

Write a c program to calculate the square root of any number.

Answers

Answered by shanaya68
0
Take L. C. M. Of that given no and than make the pair of two same number then use the paired no and once and than multiply the no

hasnatmirza111p06f0z: this is not a c(Assembly language code )
shanaya68: ok
hasnatmirza111p06f0z: no problem
shanaya68: sorry
Answered by hasnatmirza111p06f0z
0
#include <math.h>
#include <stdio.h>

int main(void)
{
double int x; 

result = sqrt(x);
printf("The square root of %lf is %lfn", x, result);
return 0;
}
Similar questions