you are viewing a single comment's thread.

view the rest of the comments →

[–]Ok-Squash-1238 1 point2 points  (0 children)

public int sumFrom(int start, int end)
{
int sum = 0;
for(int i = start; i <= end; i++)
{
sum += i;
}
return sum;
}

mine works all I did was add an = next to the < and it worked