ChicoState / ChicoState/MyFirstExample
Handle NaN errors
Aperta
- Lingua principale
- C++
- Stelle
- 0
- Fork
- 418
- Merge medio
- 13h 31m
- PR unite (30g)
- 1
Descrizione
# 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.`
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.