#include <iostream>
using namespace std;

int main() {
    int a,b;
    cout << "enter a : ";
    cin >>a;

    cout<<"enter b : ";
    cin >>b;

    int sum=a+b;
    cout<<"sum= " << sum <<endl;
    return 0;
}

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: