i need help regarding an assignment..any help with do pls..i understand the flow but don't quite know how to start..
the first two numbers (a & b) are inputs and to start the sequence of the adding..it will then display the final answers..
the flow is:
a+b=c
(b+1)+c=d
(c+1)+d=e
(d+1)+e=f
.
.
.
so on..
c+d+e+f+....=total
until the max number inputted for the adding is reached..
uhm...here it is...i know basic inputs and outputs...its the loops im confused about..
it just displays the inputted number and cant total..i dont know either how to increment..
to int* iInputs = newint[iNumberInputs];
just for readability,
the problem is that youre doing a { bracket at line 19, you should be closing the for loop there, so make it a } bracket instead, if you fix that itll probably compile, and work