//for loop example #include <iostream>using namespace std; int main() { int x; //Example 1 cout << "\nOh, boy, here comes Example 1\n"; for (x=0; x<10; x++) //loop 10 times { cout << "The number is now: " << x << endl; } //Example 2 Make it show 1 through 10! cout << "\nLookee, Lookee, here comes Example 2\n"; for (x=0; x<10; x++) //loop 10 times { cout << "The number is now: " << x + 1 << endl; } return 0; } // end of main