write a program to find square root of a number without using loop.

#include<stdio.h>
#include<conio.h>
#include<math.h>
int main()
{
float a,b;
printf("enter the value of a\n");
scanf("%f",&a);
b=sqrt(a);
printf("square root of the number is %f",b);
return 0;
}

Comments

Popular posts from this blog