Hartismere School

An outstanding coeducational secondary school and sixth form college

1 Simple Calculations

Program 1

Create a program that will add together 3 inputs from the user and output the result to a text label. The calculation should happen when the user presses the 'Add' button. The program should also have a clear button that removes the values in the text boxes and the result text label.

 

Program 2

Create a program that will calculate and output the area of a rectangle using the length and width entered by the user. Add a clear button also.

 

Program 3

Create a program that will allow the user to enter in some text into a single text box. On a button press, the program will find and output the length of the string of text the user entered.