Computer Science, asked by sheebuoram, 8 months ago

WAP to input the age of a person and check whether he is eligible to vote or not .​

Answers

Answered by arjun907368
1

Explanation:

To check that a person is eligible for voting or not, we need to check whether person’s age is greater than or equal to 18. For this we are reading age in a variable a and checking the condition a>=18, if the condition is true, "person will be eligible for voting" else not.

Similar questions