Computer Science, asked by mandeisepha891, 6 months ago

Draw a flowchart to accept the age of a person. Display the message Eligible For Role if the age is equal to or greater than 18, otherwise display the message Not Eligible..

Answers

Answered by sangeetabhanwar
16

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

Explanation:

flowchart

Attachments:
Answered by anindyaadhikari13
15

Question:-

Draw a flowchart to accept the age of a person. Display the message "Eligible For Role" if the age is equal to or greater than 18, otherwise display the message "Not Eligible"

Answer:-

This is the algorithm.

STEP 1: START

STEP 2: Accept the person's age.

STEP 3: If the age is greater than or equal to 18 then display the message "Eligible for role" else Display "Not Eligible."

STEP 4: STOP

Flowchart is given in the attachment.

Remember to give the flow lines.

Attachments:
Similar questions