num1 = input('Enter your age');
if (num1 > 17)
   fprintf('You are eligible to vote')
else
   fprintf('You are not eligible to vote')
end