ChicoState / ChicoState/MyFirstExample
Handle NaN errors
Ouverte
- Langage dominant
- C++
- Étoiles
- 0
- Forks
- 418
- Merge moyen
- 13 h 31 min
- PR mergées (30 j)
- 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.`
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.