Pergunta de entrevista da empresa IDTechEx

Was asked an easy compound interest question