ADD.CPP SOURCE CODE FOR SCIENTIFIC CALCULATOR

/* ADD.CPP*/
#include "calculator.h"
#include <iostream>
using namespace std;
void ScientificCalculator::add()
{
 cout<<"Enter the two numbers: "<<endl;
 cin>>a>>b;
 int add;
 add = a + b;
 cout<<"The answer is "<<add<<endl;
}

Comments

Popular posts from this blog

Scientific Calculator Project Proposal