Question 12: Scratch (Easy)

Math Hero

In the land of Mathlandia, you are the royal mathematician tasked with solving the kingdom’s problems. Use your magical calculator to help the citizens add, subtract, multiply, and divide their way out of tricky situations. From dividing treasures among pirates to adding up scores at the grand tournament, your math skills are crucial!

Can you create a basic calculator that can add, subtract, multiply, and divide?

  • Design a calculator interface with number buttons and operation buttons.
  • Use variables to store the numbers and the result.
  • Program the buttons to perform the correct calculations.
  • Display the result on the screen.
Write what you are looking for, and press enter to begin your search!