#include #include using namespace std; //Sum of the integers from 1 to 100 inclusive. int main() { int n {1000000000}; //Compute the sum of the integers from 1 to n inclusive. int sum {0}; for (int i {1}; i <= n; ++i) { //++i means i = i + 1 sum += i; //sum += i means sum = sum + i } cout << "The sum of the numbers from 1 to " << n << " inclusive is " << sum << ".\n"; return EXIT_SUCCESS; }