set the totalMinutes to 0
prompt for the number of tracks
enter the number of tracks
loop for number of tracks with index
prompt for the number of minutes for track
enter the number of minutes
add the number of minutes to the totalMinutes
end loop
display the totalMinutes