Office Space Lumbergh

if my code would show its work

that would be great!