Pregunta de entrevista de Netomi

Design Patterns, Get the Data from API and do th calculation