Pregunta de entrevista de American Express

Basic programing question, guestimate approach