C# Basic 6: Functions
Loading...
2,596
Loading...
Uploader Comments (Xylogeist)
see all
All Comments (7)
-
Wouldn't you have to, at the end, change the "MessageBox.Show(result);" to "MessageBox.Show(message);"?
-
@kjetil210795 Wait... Wouldn't something divided by zero just have the answer of infinity. After all zero would just go infinitely into any number.
-
Love these C# tuts,..keep it up!
Loading...
I tried to divide by zero.... The program crashed. D:
kjetil210795 2 months ago in playlist C# Basic
@kjetil210795 Indeed! They say the only person ever able to divide by zero was DaVinci. You can remedy that by making a check before the opperation is processed that checks for irregular values (ex: If ( Value == 0 ) and so forth).
Xylogeist 2 months ago