I was wondering why the math formula we use to find the sum of the numbers up to the entered number works in javascript but it doesn\'t work in c ++.
The Form