If I divide by zero, my calculator is supposed to print a line and terminate the program. However, it prints it twice and only then stops running
I’m at my wits’ end trying to think of the reason for such an unusual behavior. Could you give me a hint, please?
In case you need the entire code, it’s here (it’s too big to paste here, I think)