comment in C++

#include <iostream>  // Include the necessary header file for input and output operations

int main() {
    // Declare a variable of integer type to store the user's input
    int userNumber;

    // Prompt the user to enter an integer and store it in the declared variable
    std::cout << "Enter an integer: ";
    std::cin >> userNumber;

    // Check if the entered number is positive, negative, or zero
    if (userNumber > 0) {
        std::cout << "You entered a positive number." << std::endl;
    } else if (userNumber < 0) {
        std::cout << "You entered a negative number." << std::endl;
    } else {
        std::cout << "You entered zero." << std::endl;
    }

    // Display a message indicating the end of the program
    std::cout << "Program completed." << std::endl;

    // Return 0 to indicate successful execution of the program
    return 0;
}