I was bored one day and decided to make a calculator in scratch! It was significantly easier than I thought. Just do what Question says and you'll be fine.
If I get at least 25 loves I'll update it!!!