+ 2

If something occurs due to incorrect code or input what re we supposed to do

Exception code. Input

24th Jul 2019, 6:52 PM
RealEmmaPlays
RealEmmaPlays - avatar
2 odpowiedzi
+ 7
You are supposed to try to correct the incorrect input or try and fix the code👍👍
24th Jul 2019, 8:10 PM
Adetunji Dorcas
Adetunji Dorcas - avatar
+ 1
using a try and catch or try and except or ... (depends on language) to have a default value so the program doesn't freak out
24th Jul 2019, 9:56 PM
Anton Böhler
Anton Böhler - avatar