C++ Program to add two numbers

#include <iostream.h>
#include <conio.h>

void main()
{
  int A,B;
  cout<<"Enter two numbers: ";
  cin>>A>>B;
  cout<<"Sum= "<<(A+B);
  getch();
}


OUTPUT:

No comments:

Post a Comment