Tomoya Otake
Aug 9, 2017 · 1 min read

ちなみに、0(ゼロ)で割ると、多くのプログラムはエラーとなって強制終了します。これを zero division error (ゼロ除算エラー)と言います。

そのため、プログラムに計算をさせるとき、ゼロが入力される可能性がある場合は、事前に入力値を確認するなどの処理が必要になります。

    Tomoya Otake

    Written by

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade