Owner.com interview question

simple procedural programming questions, semi-realistic use case