ChicoState / ChicoState/MyFirstExample
Handle NaN errors
Open
- Dominant language
- C++
- Stars
- 0
- Forks
- 418
- Avg merge
- 13h 31m
- Merged PRs (30d)
- 1
Description
# Problem Description
A bug occurs when the second number entered by the user is zero because a divide-by-zero error.
# Desired Behavior
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.`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.