To accept length and breath of rectangle and display perimeter and are of rectangle.
Answer:
-
Step 1: Start
Step 2: accept length and store in L
Step 3: accept breadth and sore in B
Step 4: Calculate perimeter of rectangle
and store in Perimeter
Step 5: Display “Your perimeter of
rectangle is” Perimeter
Step 6: Calculate Area of rectangle and
store in Area
Step 7: Display “Your Area of rectangle
is” Area
Step 8: End
Comments
Post a Comment