|  | 
|  | 
| back to board | Can't even understand Hi,
 For input 4 17, how come the output is 2 15 ? We have to do this right ?
 
 sqrt(4 % 0) = undefined
 sqrt(4 % 1) = 0
 sqrt(4 % 2) = 0
 sqrt(4 % 3) = 1
 sqrt(4 % 4) = 0
 sqrt(4 % 5) = 2
 sqrt(4 % 6) = 2
 sqrt(4 % 7) = 2
 sqrt(4 % 8) = 2
 sqrt(4 % 9) = 2
 sqrt(4 % 10) = 2
 ..
 ..
 sqrt(4 % 16) = 2
 
 So where is 2 15 coming from ? Is there something wrong with the problem ?
 
 Edited by author 20.04.2009 03:46
 
 Edited by author 20.04.2009 03:46
No subject  Edited by author 21.04.2009 00:47
 
 Edited by author 21.04.2009 00:47
 | 
 | 
|