q10

#include <iostream>

int main() {
    int num1, num2, sum;

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

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

    // Step 3: Calculate the sum of the two integers
    sum = num1 + num2;

    // Step 4: Display the result (sum) to the user
    std::cout << "Sum: " << sum << std::endl;

    return 0;
}