Write an algorithm and flowchart to find perimeter of rectangle and psuedocode of it's
Answers
Answered by
2
:::::::: algorithm ::::::::
1)start ;
2)take variable int x, int y, int result ;
3)enter the value of x ;//height of rectangle
4)enter the value of y ;//width of rectangle
//LOGIC//
5)result = 2 * (x + y) ;
6)print result ;
7)end;
Similar questions