yep...thats how u supposed to do it on paper, only i didnt want to actually think of a way to add the previous 2 numbers, when i did it, i knew just arrays, and it was too much of a bother then. mebbe what u can do is write recursively, to add a[i] and a[i+1], and then put it in a stack or...