The program will print the sum of the integers between m and n inclusive, where m and n are user input values.

After writing the pseudocode, I went to work and have this as part of my source code:

while (m!=n) {

if (m>n) {

++n;

}

else {

++m;

}

}

I can't figure out how to do the rest of this problem and it's been driving me crazy! Any help would be greatly appreciated.

Colin