Pseudocode: Area of a rectangle

Catalina Soleil

  1. Create 3 text boxes, one to input the length (a), one to input the width (b), and one to output the answer (c).
  2. Create variables to hold the length (length), the width (width), and the result (answer).
  3. Get the length from text box "a" and assign it to the variable "length".
  4. Get the width from text box "b" and assign it to the variable "width".
  5. Calculate variable "length" multiplied by variable "width".
  6. Assign the result to variable "answer".
  7. Assign the variable "answer" to textbox "c".