C Programming

# C – Find the Square Root 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));

return0;

}