How to solve zero divide error in my code? - page 2

 
Dominik Christian Egert #:
Change this:

Your solution worked perfectly, thank you. 

 
Rahul Shaji Parmeshwar #:

Your solution worked perfectly, thank you. 

perfectly no!  unless you changed what I showed you above you will still get zero divide errors.

Reason: