Q. To categorise a person as either child (<13), teenager (> 13 but <20) or adult (20), based on age specified.

Answer :-

Algorithm :-

1. Start
2. Input age
3. If age < 13
             Print "Child"
     Elif age >= 20
             Print "adult"
     Else
              Print "teenager"
4. Stop

Pseudocode :-

A = input "Age "
If a is smaller than 13
       Display " Child "
Elif a is greater or equal 20
       Display "adult"
Else
        Display " teenager "

Flow Chart :-



Click on image for clear view.

9 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

  1. Sorry but I can't find a flow chart for this question anywhere. Please provide that also...I need it

    ReplyDelete
  2. Thank you so much but I want flowchart of this question.... Because teacher is waiting for do this flowchart and I am depended on you ..so please help me 💖🥲 again thank you

    ReplyDelete
  3. Me to Need a flowchart
    You are great

    ReplyDelete
  4. Replying to all?

    ReplyDelete
  5. Thank you for doing this great job for us.

    ReplyDelete

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post