1st off, just want to say if you're reading this, thank you for taking your time to help me out, I really need it. Ok now on to my question:

Using C++ I'm attempting to use a "for"loop to ask user to input two integers, then the loop should add all the numbers between the "two user supplied" numbers and output the sum. Example:

Please input two integers.

2 6

(loop should do this)

2+3+4+5+6

(then out put)

sum of your numbers is 20.

I'm new at this so any suggestions will really help me thanks!!!!

Also I've written the following code but still many errors when i try to build. What am I doing wrong?

```
#include<iostream>
using namespace std;
int main()
{
int x,y;
cout<<"please input two integers " <<endl;
cin >> x >> y;
for (int i = low; i<high, i++)
{
sum+=i;
}
return 0;
}
```