Question: 4. Develop a Pseudo code, algorithm and flow chart for the problem classify-by- age which accepts one value, a non-negative integer, and display the message

4. Develop a Pseudo code, algorithm and flow chart for the problem classify-by- age which accepts one value, a non-negative integer, and display the message infant if the value is less than 2, display the message child if the value is less than or equal to 12, display the message adolescent if the value is less than or equal to 18, display the message adult if the value is less than 60, and display the message senior in any other case. (20 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
