0

Where is my problem?

Radical without sqrt function https://code.sololearn.com/cWq59WXLUNeY/?ref=app

5th Mar 2022, 1:11 PM
Arash
Arash - avatar
8 Answers
+ 2
What are you trying by this code? You may get infinite loop. Or never start of loop as it never I*i== first comes true... so no output or infinite output..
5th Mar 2022, 1:22 PM
Jayakrishna 🇼🇳
+ 1
Dear Arash , What's your point to write this code, I mean objective of this code?
7th Mar 2022, 12:00 PM
Stony
Stony - avatar
0
I want to have radical without => sqrt(x,y)
5th Mar 2022, 2:28 PM
Arash
Arash - avatar
0
That's not work
5th Mar 2022, 2:47 PM
Arash
Arash - avatar
0
Use condition while(i*i<first) { Else use a do while....
5th Mar 2022, 2:51 PM
Jayakrishna 🇼🇳
0
Arash Opps supposed to be while (first - (i*i) > .0001)
5th Mar 2022, 2:56 PM
Raul Ramirez
Raul Ramirez - avatar
5th Mar 2022, 2:59 PM
Raul Ramirez
Raul Ramirez - avatar
0
Thanks a lot
5th Mar 2022, 3:05 PM
Arash
Arash - avatar