ChicoState / ChicoState/MyFirstExample
Handle NaN errors
Đang mở
- Ngôn ngữ chính
- C++
- Star
- 0
- Fork
- 418
- Merge trung bình
- 13 giờ 31 phút
- Pull request đã merge (30 ngày)
- 1
Mô tả
# 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.`
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.