Cout C++

#include <iostream>

int main() {
    // Declare a variable named 'number' of type integer and assign the value 42 to it
    int number = 42;

    // Output the value of the 'number' variable to the console
    std::cout << "The value of the number is: " << number << std::endl;

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