Computer Science, asked by devapriya1923, 4 months ago

pseudo code for area of rectangle​

Answers

Answered by velsadhana2011
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 SaurabhJacob
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:

  1. Start.
  2. Input Width and Height.
  3. Multiply Width and Height, and store it in Area
  4. Print Area
  5. Stop

Similar questions