Write an algorithm find the perimeter of rectangle
Answers
Answered by
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
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