I\'m a beginner and I have a homework that I don\'t manage it. I have to do an equation, after which it can continue to perform operations on the previous result if no reset