Computer Science, asked by roshni6813, 6 hours ago

write a program to check whether a person is eligible to vote or not using SUB Procedure [ NOTE: A person aged 18 or more can vote]

Answers

Answered by sanjay7731
0

Answer:

age = int(input("Enter your age :"))

if age > 18:

print("you are eligible to vote")

elif age == 18:

print("you are eligible to vote")

else:

print("you are not eligible to vote")

Similar questions