Pregunta de entrevista de Honeywell

Some algorithm about a printer reporting failure.