c++

#include <iostream>

int main() {
    // Declare variables to store user input and result
    int num1, num2, sum;

    // Prompt the user to enter the first number
    std::cout << "Enter the first number: ";

    // Read the first number from the user
    std::cin >> num1;

    // Prompt the user to enter the second number
    std::cout << "Enter the second number: ";

    // Read the second number from the user
    std::cin >> num2;

    // Add the two numbers and store the result in the 'sum' variable
    sum = num1 + num2;

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

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