c++ region
#include <iostream>
// Step 1: Define the main function
int main() {
// Step 2: Declare variables
int num1, num2, sum;
// Step 3: Prompt the user to enter two numbers
std::cout << "Enter first number: ";
std::cin >> num1;
std::cout << "Enter second number: ";
std::cin >> num2;
// Step 4: Calculate the sum of the two numbers
sum = num1 + num2;
// Step 5: Display the result
std::cout << "Sum: " << sum << std::endl;
// Step 6: Return 0 to indicate successful execution
return 0;
}