#include // The C++ input and output definitions. void main(void) { // declarations: int i; // A counter int j; // An integer // executable statements: // Starting message: cout << "Before the loop.\n"; // Loop 5 times for (i=1; i<=5; i++) { cout << "Please enter a number: "; cin >> j; cout << j << " is an "; if(j/2*2 == j) cout << "even"; else cout << "odd"; cout << " number.\n"; } // Print a final message: cout << "\nAfter the loop.\n"; }