while 1
   disp('What is 3+4?')
   answer=input('');
   if answer == 7
      disp('Correct')
      return
   else
      disp('Wrong, but you get another chance.')
   end
end
