Can someone tell me how to square root numbers without any other header file ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Can someone tell me how to square root numbers without any other header file ?

Can you tell me ? I have a answer I will post it in the answer section . Upvote if liked .

6th Oct 2021, 3:35 PM
Pritam Santra
Pritam Santra - avatar
3 Answers
+ 2
You answering from yourself If u know already then no need to post here
6th Oct 2021, 3:44 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
u can do it by long division method
6th Oct 2021, 4:30 PM
CodeSmith
CodeSmith - avatar
0
My answer is by using the sqrt function . int num1 = sqrt (num2) ; Note - num1 and num2 are variables .
6th Oct 2021, 3:37 PM
Pritam Santra
Pritam Santra - avatar