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.
(Python)
Ayoshitha:
hvc
Answers
Answered by
7
Answer:
Algorithm
Explanation:
1. Start
2. Read the input from user and store as age
3. If 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:
Answered by
2
Answer:
Step : 1 start
Step : 2 input your age
Step : 3 if your age is equal or greater than 18, you are eligible
Step : 4 if your age is less then 18, than you are not eligible
Step : 5 stop
Similar questions