C++ Code to add two integers value on Arithmetic Operators

first, use the 3 variables then print the statement of enter the value store the value add the number then print the value.

#include <iostream>
using namespace std;
int main()
{
  int a, b, sum;
    
    cout << "Enter two integers: ";                                              //print the text inside this " "
    cin >> a >> b;                                                                       // store the data 
    
    sum = a + b;                                                                          // adding two values
    
    cout << "Answer=" << sum;                                                  //print the text and data will be printed
    
    return 0;
}

Output:-

Enter two integers: 20
25
Answer=45