
please wait
|
|
|
|
for ( n=0 ; n<5 ; n++ )
result += billy[n]
result += billy[n];
is a shorthand way of writing this result = result + billy[n];
billy[n]
is simply saying to take the nth value of the array called billy. That is the nth number in the input sequence on line 5 of your original example.