Click the flag and the rest should be self explanatory.
I did because one of my friends made a calculator with java, and i thought: I should make one with scratch. So this is the outcome of my efforts.