You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I am trying to work my way through the Ada Build work and do not know how to correct the error that comes up for solving problem 1.14, the error message is a "zerodivisonerror" but I don't know how to fix it since value cc is supposed to be zero. Is there a different way to code the problem?
The text was updated successfully, but these errors were encountered:
It would end the program since computers don't usually like taking in a problem that divides by zero. So the error is letting you know that it can no longer go forward with the additional problems since it has essentially stopped your program. It can't and will not go forward. This is normal.
**Note: It would be nice if problems 1.15-1.17 were included before 1.14 since the rest of the problems can't be completed because 1.14 ends the code because it results in a "ZeroDivisionError: division by zero" error. Ending the program.
I also had to double check this, thanks google! Since it's impossible to divide by zero (at least with the math we have now) it reports an error because it's unsolvable, just like resmins said. But to continue with the problems you can just comment out the 1.14 problem, type "#" on the front of the line or Command+/, and it will take that line out so the error doesn't prevent any other lines from being run.
Hello! I am trying to work my way through the Ada Build work and do not know how to correct the error that comes up for solving problem 1.14, the error message is a "zerodivisonerror" but I don't know how to fix it since value cc is supposed to be zero. Is there a different way to code the problem?
The text was updated successfully, but these errors were encountered: