ChicoState / ChicoState/MyFirstExample

Handle NaN errors

未关闭
#61 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
0
派生
418
平均合并
13 小时 31 分钟
30 天内合并 PR
1

描述

# 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.`

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。