Then, double click on the Button1 with the label "Calculate", then enter the block code below:
Next, double click on Button2 with the label "Exit", then enter the block code below:
If it is finished, run the program, it will be as shown below.
Sign up here with your email