help me please
This doesn't make sense.... You should be adding to the integer C in the for loop, increasing its value as you go through loop until the max. You should print out the answer (the integer C) after the for loop is finished, not inside of it
Declare A and B and C
Set A = the number input
For (B = 1, B <\= A, B++) {
C=B+C
}
Now print out "The answer to sum of all number from 1 to (integer A) is (Integer C)"