INSTRUCTIONS:
• Write an algorithm and draw a flow chart for the given task. (They should be hand
written and not typed on a Computer.)
Problem statement:
✔ Write an algorithm and flow chart to input the age of a person.
✔ If the person’s age is less than 18 years, they cannot apply for a driving license.
✔ If the person’s age is equal to or more than 18 years, they can apply for a driving license.
✔ Use appropriate variables, input and output statements.
Marking Scheme:
1. Algorithm (5)
2. Flow Chart (10)
3. Logic Used (5)
Answers
Answered by
1
Answer:
Algorithm
Explanation:
1.Start
2.Get input from user and store as age
3. If the age is less than 18 give output as you cannot apply for driving licence.
4. Else the age is Greater than and equal to 18 give output as you can apply for driving licence.
5.stop the program
For flow chart see image
Attachments:
Similar questions
✔ Write an algorithm and flow chart to input the age of a person.
✔ If the person’s age is less than 18 years, they cannot apply for a driving license.
✔ If the person’s age is equal to or more than 18 years, they can apply for a driving license.
✔ Use appropriate variables, input and output statements.
Marking Scheme:
1. Algorithm (5)
2. Flow Chart (10)
3. Logic Used (5)