Quote Originally Posted by jimblumberg View Post
I think where you are getting confused is with all of the if else clauses. You should rework your logic without using the if else. It will make your logic a lot clearer.
Thanks, but where abouts do you mean? In the integrated if function (inside "if(a == 0)")?