To Find The Area of Rectangle
To Find The Area of Rectangle
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
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
IF
AGE>18
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
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
VOLUME=L*B*H
Print VOLUME
End