Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Steps to create Calculator program in mBlock

Step 1: Click on the sprite tab, Add a teacher sprite.

Step 2: Click on the sprite tab, select paint and paint mathematical operations.

Step 3: Create two variables number1 and number2

Step 4: Write the following code on “teacher” sprite


Step 5: Then, write the code on “plus” sprite
Step 6: Then, write the code on “minus” sprite

Step 7: Then, write the code on “multiplication” sprite


Step 8: Then, write the code on “division” sprite

You might also like