0% found this document useful (0 votes)
36 views4 pages

To Find The Area of Rectangle

The document outlines algorithms and flowcharts for calculating the area of a rectangle, determining voting eligibility based on age, checking if a number is odd or even, and finding the volume of a cuboid. Each algorithm includes steps for input, processing, and output. Flowcharts visually represent the processes described in the algorithms.

Uploaded by

Prabesh Thapa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views4 pages

To Find The Area of Rectangle

The document outlines algorithms and flowcharts for calculating the area of a rectangle, determining voting eligibility based on age, checking if a number is odd or even, and finding the volume of a cuboid. Each algorithm includes steps for input, processing, and output. Flowcharts visually represent the processes described in the algorithms.

Uploaded by

Prabesh Thapa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

To find the area of rectangle [AREA = L*B]

Algorithm
Step 1: Start
Step 2: Read Length (L) and Breadth(B)
Step 3:Multiply Length and Breadth and store on AREA
Step 4: Print AREA
Step 5: End

Flowchart
Start

Read Length (L) and Breadth (B)

AREA=L*B

Print AREA

End
To find whether a person is eligible to vote or not (IF AGE>18)
Algorithm:
Step 1: Start
Step 2: Read the AGE of person
Step 3: IF AGE > 18 then print " Can Vote" else " Cannot Vote"
Step 4: Print Result
Step 3 : End

Start

Read AGE of person

IF
AGE>18

Cannot Vote Can Vote

End
To find whether the given number is Odd or Even (IF N%2==0)
Algorithm:
Step 1: Start
Step 2: Read a number (N)
Step 3: IF N%2==0 then print "Even" else "Odd"
Step 4: Print Result
Step 3 : End

Start

Read a number (N)

IF N
%2==0

ODD Even

End
To find the volume of cuboid [VOLUME=L*B*H]

Algorithm
Step 1: Start
Step 2: Read Length (L), Breadth(B) and Height(H) of cuboid
Step 3:Multiply Length, Breadth and Height and store on VOLUME
Step 4: Print VOLUME
Step 5: End

Flowchart
Start

Read Length (L), Breadth (B) and Height (H)

VOLUME=L*B*H

Print VOLUME

End

You might also like