Im building a quadratic formula solver. I havent yet put in the actual formla to get the solutions, but ive done the discriminant. Everything works in the build, but my if and else commands arent having any effect. :(, help please!
Line 29 should be elseif (dis == 0) because:
1) All your conditions are connected, you want the else to run if both the previous conditions are false.
2) The = operator is generally used for assignment, == is for comparison.