Answer:
Not sure which language are you using, so I'm using python.
# getting the information
age = input("What is your age?")
citizen = input ("Are you are US citizen? (Y/ N)")
duration = input ("How many years have you been staying in the US?")
# print the line if one fits all requirements
if (age >= 35 || citizen == Y || duration >= 14) :
print ("You are eligible to run for president!")
else :
return