+ 1

This code not execute properly try to figure out why

https://code.sololearn.com/cuRp56D12A5z/?ref=app

31st Jan 2018, 3:45 PM
Nilesh Tammewar
Nilesh Tammewar - avatar
2 Respuestas
+ 9
You haven't called the method from main. Also, when we write "Double", it refers to wrapper class Double. In this case you can simply use regular data type "double". Fixed version: https://code.sololearn.com/cKp4JSqh9xnz/?ref=app
31st Jan 2018, 3:56 PM
Shamima Yasmin
Shamima Yasmin - avatar