Pseudocode: Area of a rectangle

Victoria Mize

  1. Create 3 text boxes; one to input the length (l), another to input the width (w), and one to output the answer (a)
  2. Create 3 variables; one to hold the value of the length (length), another to hold the value of the width (width), and another to hold the value of the result (answer)
  3. Read the value from text box (l) and assign it to variable 'length'
  4. Read the value from text box (w) and assign it to variable 'width'
  5. Calculate l * w, and assign the result to variable 'answer'
  6. Assign the variable 'answer' to text box (a)