could not find the task c c++ active file

Step 1: Include necessary header files.

#include <iostream>
using namespace std;

Step 2: Define the main function.

int main() {

Step 3: Declare variables for input.

    int num1, num2, sum;

Step 4: Prompt the user for input.

    cout << "Enter first number: ";
    cin >> num1;

    cout << "Enter second number: ";
    cin >> num2;

Step 5: Perform the addition.

    sum = num1 + num2;

Step 6: Display the result.

    cout << "Sum: " << sum << endl;

Step 7: End the main function.

    return 0;
}