write an algorithm and draw a flowchart to find the area and perimeter of a square( in a single program )
Answers
Answered by
7
check the image and u will get it
Attachments:
Answered by
1
ALGORITHM
Step 1: Start
Step 2: Enter length and breadth,l and b.
Step 3: A=l(square) and P=4l
Step 4: Display Perimeter,P
Step 5: Display area,A
Step 6: Stop
FLOWCHART
Start
Enter l and b
P= 4l
A= l(square)
Display area, A
Display perimeter, P
Stop
(#The End#)Thank You
Similar questions