That's great, an easy way is to think of it not as a program, but as a problem
Anonymous
Write it down
Anonymous
Or draw it, whatever
Anonymous
Try to find a solution and then just translate that into code.
Luigi
i'm actually doing in while loop : s=a+b; / sum=s+(i want to put here like "Prev", but i don't know how to insert the previous number in inputs)
Anonymous
Code is basically just a language, what really matters is the idea