First try

watch a tutorial online, then start writing this simple calculator, try
to be similar as windows's default calculator.