Pergunta de entrevista da empresa NTT DATA

To write code for a simple math problem