Computer Science, asked by kavyasharavya, 6 months ago

Wap to print major or minor given age of a person

Answers

Answered by Anonymous
1

# input age

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

# condition to check voting eligibility

if age >=18:

status = "Eligible"

else:

status = "Not Eligible"

print ("you are",status,"for vote").

Similar questions