C program to find square root of a number





1. C program to find square root of a number
2. How to calculate the square root of a number in c programming langue source code 


#include<stdio.h>
#include<math.h>

int main(){
    int num;
    scanf("%d",&num);

    printf("Square root: %f",sqrt(num));
    return 0;
}



No comments: