You are on page 1of 1

Good evening, everyone.

I will begin presenting our activity which is to placed a


command button and shows a result of the four basic fundamentals in math. And to do so,
we use the different types of variables.
So before I pressed the command button here, lets go to the code anay to see how and to
know what code we used.
Here, I placed m as integer. We used a type of variable which is the integer in order to
place a whole number. So m =

The next code here is the calculation of the 4 basic fundamentals in math. The first is
addition so here x= m+n+0. The result will appear or place in range H7. So later on once
I click the command button place in the worksheet, the result will appear in H7—for
addition.
Next is the subtraction.

Next code, in order to classify those answers/results I referring to this, it should have an
indicator whether it is a result intended for addition, substraction, multiplication and
division.
So first I put a letter f
So the code is now completed and we can run this.

You might also like