C Program to find the square root of the number using the function.

Write a c program to find the square root of the number. 

#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
int num;
int squreroot(int num);
printf("Input Number:");
scanf("%d",&num);
squreroot(num);
getch();
}
int squreroot(int num)
{
printf("squreroot: %f",sqrt(num));
return 0;
}

TutsMaster.org

Tutsmaster.org provides tutorials related to tech and programmings. We are also setting up a community for the users and students.