You haven't written any piece of code that determines whether or not it should be addition or subtraction.
Generate 1 more random number, that is either equal to 1 or 2. If it is equal to 1, only run the addition part of the code, if it is equal to 2, run the subtraction part.