ChicoState / ChicoState/MyFirstExample

Handle NaN errors

オープン
#61 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C++
スター
0
フォーク
418
平均マージ
13時間 31分
マージ済み PR(30日)
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 を短くまとめたダイジェスト。