Pseudocode: Area of a rectangle
Catalina Soleil
- Create 3 text boxes, one to input the length (a), one to input the width (b), and one to output the answer (c).
- Create variables to hold the length (length), the width (width), and the result (answer).
- Get the length from text box "a" and assign it to the variable "length".
- Get the width from text box "b" and assign it to the variable "width".
- Calculate variable "length" multiplied by variable "width".
- Assign the result to variable "answer".
- Assign the variable "answer" to textbox "c".