pseudo code for area of rectangle
Answers
Answered by
15
Answer:
- Pseudocode Input the width (W) and Length (L) of a rectangle Calculate the area (A) by multiplying L with W Print A.
- Example 3 Algorithm Step 1: Input W,L Step 2: A ← L x W Step 3: Print A START Input W, L A ← L x W Print A STOP.
Explanation:
hope its helpful
Answered by
8
It is the informational and artificial way of representing an algorithm that can be used to directly start writing in any programming language.
It includes every detail of the algorithm in it. So that the writing of the set of instructions can become easier.
With the above information, the instructions for the Area of Rectangle:
- Start.
- Input Width and Height.
- Multiply Width and Height, and store it in Area
- Print Area
- Stop
Similar questions