# Simple Calculator

In this example we are going to build a simple calculator

### Getting Started

1. Start with the Start block. Drag it to the top of your canvas
2. Next lets use a **User Simple Input** block. (We want user input)
3. Lets added another **User Simple Input** Block.
4. The blocks will have variable names x and y you can label them anything you want
5. In the blocks numeric category lets add the **Add Values** block
6. Finally in the output category lets add the **Output Results** block

Your script should look something like this

![Simple calculator GUI script](https://3179800138-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0o0JddPcjDBSwTwXKAZq%2Fuploads%2F3idJio3YCTWjtIBBsvpT%2Fsimple_calculator_sample.png?alt=media\&token=3521aba8-a0c8-4e69-a5d6-d1f6013495e5)

Next build the script and view the results. You should be able to enter two values and add those values to see the result.

### Video Tutorial

The video below show this example in detail

{% embed url="<https://youtu.be/4qJqH1sFl_w>" %}

Try it yourself. Maybe add an additional input.
