Pergunta de entrevista da empresa Garmin

Fix the bug in this code? (Then handed a sheet with a short C++ function on it)