-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle NaN errors #61
Comments
eavadney
added a commit
to eavadney/MyFirstExample
that referenced
this issue
Aug 30, 2023
miguelrsandoval
added a commit
to miguelrsandoval/MyFirstExample
that referenced
this issue
Aug 30, 2023
Closed
gnmeyer
added a commit
to gnmeyer/MyFirstExample
that referenced
this issue
Aug 30, 2023
mbridgnell
added a commit
to mbridgnell/MyFirstRepository
that referenced
this issue
Aug 30, 2023
Added logic for division by 0
raperez2
added a commit
to raperez2/MyFirstExample
that referenced
this issue
Jan 31, 2024
Checks if dividing by non-zero value
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A bug occurs when the second number entered by the user is zero because a divide-by-zero error.
When a user enters zero (
0
) as the second number, show all the other operations as usual. However, instead of calculating and displaying the quotient for division, display the message:Dividing by zero is not a number.
The text was updated successfully, but these errors were encountered: