Pergunta de entrevista da empresa UST

Basic programming questions in any programming language.