14. Simple C Program to Find Square Root of Any Number

preview_player
Показать описание
This is how to write a simple c program to find the square root of any number which is entered by the user. In this video, we will take one number as an input from the user and we will find the square root of that number.

So, in this video, we will use one inbuilt function given by the math.h library to find the square root. The name of that function is sqrt() which takes any number as a parameter and returns the square root of that number.

#Clanguage #Cprogramming #Ctutorials

------------ Links to my other FREE courses. ----------
Рекомендации по теме
Комментарии
Автор

Solve this problem without using sqrt function. Because you need math hedar file

whatthenext
Автор

Sir .
Please help me 🥲🥲🥲💔
How am i supposed to find the square root of a positive integer nbr but in the
√x=√s+ ((x-s)/(2√s))
😢

kk_dipper_
Автор

Can u solve the same question using functions please .

architgautam
Автор

Great vid...👍🏽
Where can I find help for writing a c program to solve a^2+b^2=c^2

emmanuelmwapechitangala
Автор

If the number is less than or equal to 10, display the square of the number. If not, display the square root of the number. how to write this in C program. Thankyou

marioreiner
Автор

Is this applicable also for prime number?

suruthisankar
Автор

Sir how to find sqrt 999 numbers if number is positive, continue if number is negative in c program

AnjanaV-menl
Автор

Wow ..thank you .
Can you do max of three numbers using macros pls .

Bostilife
Автор

If we enter a negative number, how can we find it's square root( imaginary value) .... Please explain it

srirammogalapalli
Автор

||=== Build file: "no target" in "no project" (compiler: unknown) ===|
|| reference to `sqrt' with no definition|
||error: ld returned 1 exit status|
||=== Build failed: 2 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

fsr