(1 & 1) in cpp

#include <iostream>

int main() {
    // Step 1: Declare two integer variables
    int num1, num2;

    // Step 2: Prompt the user to enter the first number
    std::cout << "Enter the first number: ";
    std::cin >> num1;

    // Step 3: Prompt the user to enter the second number
    std::cout << "Enter the second number: ";
    std::cin >> num2;

    // Step 4: Add the two numbers and store the result
    int sum = num1 + num2;

    // Step 5: Display the result
    std::cout << "The sum of " << num1 << " and " << num2 << " is: " << sum << std::endl;

    // Step 6: Return 0 to indicate successful execution
    return 0;
}