Why did I even try to use this site? Attitude is all people respond with!

garber -3 Newbie Poster

[CODE]#include
using namespace std;

int main()
{
int sum = 0; // Declare an int variable sum to accumulate the numbers
int lowerbound; // Set the initial sum to 0
int upperbound; // Sum from 1 to this upperbound

// Prompt user for an upperbound
cout << "Enter a integer: ";
cin >> upperbound;
cout << "Enter another integer: ";
cin >> lowerbound;
while (lowerbound <= 100 && upperbound <= 100)
{
sum = sum + upperbound++ + lowerbound++;

}
// Print the result
cout << "The total of the numbers " << upperbound << " and " << lowerbound << " is " << sum << endl;
}
[/CODE]