Computer Science, asked by guptapooja1585, 1 month ago

Write an algorithm find the perimeter of rectangle​

Answers

Answered by Anonymous
3

Answer:

C

#include<stdio.h>

int main()

{ float a , b, c, d ,perimeter;

a= c= 5;

b=d= 4;

perimeter = 2*(a+b);

printf("\n\n Perimeter of Rectangle is : %f",perimeter);

return (0);

Answered by MamtaPargai
4

The flowchart is explained in the image.

Algorithm:

START

ACCEPT THE LENGTH OF RECTANGLE SAY L

ACCEPT THE BREADTH OF RECTANGLE SAY B

COMPUTE THE PERIMETERS WITH THE HELP FORMULA P=2* (L+B)

DISPLAY RESULT

Mark be brainlist

Attachments:
Similar questions