+ 1

Hw cn I make this prgrm more appropriate nd easy ?

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

6th Feb 2018, 2:29 AM
Deepak Bhalode
Deepak Bhalode - avatar
2 Answers
+ 22
The code is working fine @immortal @Deepak make variable z float data type btw ur equation of circle is incorrect, it should be (x-h)^2 +(y-k)^2 = r^2 so z = sqrt((x-h)^2+(y-k)^2) U can decrease the variables by 👇 https://code.sololearn.com/cxplkBernIP0/?ref=app i hope this helps 😊
6th Feb 2018, 4:47 AM
🌛DT🌜
🌛DT🌜 - avatar