Jump to content

Arithmetic/Rational/C sharp: Difference between revisions

Fix division by zero error in code.
m (prepare for inclusion as template)
(Fix division by zero error in code.)
Line 11:
if (num == 0)
{
denom = 01;
}
else if (denom == 0)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.