Addation in c++

#include <iostream>
#include <conio.h>
using namespace std;

int main()
{
   int a,b;
   cout<<"enter the value of A and B "<<endl;
   cin>>a>>b;
   int sum = a+b;
 
    cout<<"Sum = "<<sum;
    getch();
    return 0;
}

Comments

Popular posts from this blog

JavaFX UI /UX Dashboard

JavaFX code for responsive layout