I set myself the following additional goal (devised by me):

I decided to write a program to do basic calculations and then modified it to give the wrong answer by an integer between 0 and 5 (so the write answer in a fifth of cases).

The program works for =, -, * and / and recognizes division by 0 informing the user that this is not allowed.