KnowledgeBoat Logo

Computer Applications

Write algorithms and draw flowcharts for the following:

Accept the age of a person and check whether he/she is eligible to vote or not. A person is eligible to vote only when he/she is 18 years or more.

Algo & Flowcharts

898 Likes

Answer

Algorithm

Step 1: Start
Step 2: Accept the age of the person.
Step 3: If age is greater than or equal to 18, then display 'You are eligible to vote'.
Step 4: If age is less than 18, then display 'You are not eligible to vote'.
Step 5: Stop

Flowchart

Flowchart to accept the age of a person and check whether he/she is eligible to vote or not. A person is eligible to vote only when he/she is 18 years or more. Algorithms and Flowcharts, APC Understanding Computer Studies Solutions ICSE Class 8.

Answered By

691 Likes


Related Questions