for(int i = 0; i < occupations.length; i++) { var job = occupations[i]; if(job.equals("detective")) { console.writeline($"while working on the sly, a detective must often push aside conventional methods pre-inception of an investigation, revive old cases with fresh eyes, and create summaries of findings without drawing undue attention."); } }