Not c++

#include <iostream>
using namespace std;

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

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

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

    sum = num1 + num2;

    cout << "Sum is: " << sum;

    return 0;
}

This C++ program calculates the sum of two numbers entered by the user. It uses the iostream library for input/output operations. The main() function initializes three integer variables: num1, num2, and sum. It prompts the user to enter two numbers, reads them using cin, calculates their sum, and then displays the result using cout. The program finally returns 0 to indicate successful execution.