nazi crosshair c++

#include <iostream>

using namespace std;

int main() {
    // Define variables for crosshair dimensions
    int width = 5;
    int height = 5;

    // Iterate over rows
    for (int i = 0; i < height; ++i) {
        // Iterate over columns
        for (int j = 0; j < width; ++j) {
            // Print '+' at the center of the crosshair
            if (i == height / 2 || j == width / 2) {
                cout << "+";
            } else {
                // Print space for other positions
                cout << " ";
            }
        }
        // Move to the next line after each row
        cout << endl;
    }

    return 0;
}