#include #include using namespace std; int main() { //Need {curly braces} around the body of this loop: for (int i {0}; i < 10; ++i) { //Draw a box around each number. cout << "+---+\n"; cout << "| " << i << " |\n"; cout << "+---+\n\n"; } //Don't need {curly braces} around the body of this loop: for (int i {0}; i < 10; ++i) { cout << i << "\n"; } cout << "\n"; //So you could write the above loop as follows: for (int i {0}; i < 10; ++i) cout << i << "\n"; return EXIT_SUCCESS; }