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.
Sorry but I can't find a flow chart for this question anywhere. Please provide that also...I need it
ReplyDeleteOk, but it will take some time.
DeleteThank 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
ReplyDeleteWelcome : )
DeleteMe to Need a flowchart
ReplyDeleteYou are great
Thankyou : )
DeleteReplying to all?
ReplyDeleteYes offcourse.
DeleteThank you for doing this great job for us.
ReplyDeletePost a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )