108k views
1 vote
Write a pseudo code to calculate the area of rectangle

1 Answer

6 votes

Answer:

Step-by-step explanation:

Declare variables length and width

Input length and width

Calculate area by multiplying length and width

Print the area

Here's what the code would look like in a more detailed and structured format:

CalculateRectangleArea

1. Declare variables length, width, and area

2. Input length

3. Input width

4. Set area = length * width

5. Output area

END ALGORITHM

User Korteee
by
7.0k points