Garmin interview question

add some numbers together with a for loop