Pergunta de entrevista da empresa Honeywell

Some algorithm about a printer reporting failure.