C Programming

C Program to Find Square Root of Entered Number

Write a c program to take input from user and calculate square root of that entered number.

C Code

#include <stdio.h>
#include <conio.h>
#include <math.h>
void main()
float number;

printf("Enter number:");

printf("square root of entered number %f is %f",number, sqrt(number));



Related Articles

Back to top button

Adblock Detected

Please turn off your Adblocker to view your content.