Pregunta de entrevista de Blue Cross Blue Shield of Michigan

How can I write a program so that I can debug it while it runs?