Computer Science, asked by brandonloyaltylopez7, 4 days ago

Representing an algorithm using narrative activity

Attachments:

Answers

Answered by rajanikantarana94
1

Answer:

(i) Read length (l) and breadth (b)

(ii) Find the area by using A=l×b ltrbgt (iii) Display the area

Answered by nidaeamann
1

Explanation:

The narrative description of the algorithm would be;

Step 1 : Take the input of the length of the rectangle

Step 2 : Take the input of the width of the rectangle.

Step 3 : Multiply the length and width of the rectangle

Step 4 : Declare a variable area and then assign it to the calculated value

Step 5 : Print the area variable to display its value

Similar questions