0
Where is my problem?
Radical without sqrt function https://code.sololearn.com/cWq59WXLUNeY/?ref=app
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..
+ 1
Dear Arash ,
What's your point to write this code, I mean objective of this code?
0
I want to have radical without => sqrt(x,y)
0
That's not work
0
Use condition
while(i*i<first) {
Else use a do while....
0
Arash
Opps supposed to be
while (first - (i*i) > .0001)
0
Thanks a lot