MULTIPLICATION.CPP SOURCE CODE
/*MULTIPLICATION.CPP*/
#include "calculator.h"
#include <iostream>
using namespace std;
void ScientificCalculator::multiply()
{
cout<<"Enter the two numbers: "<<endl;
cin>>a>>b;
int mul;
mul = a * b;
cout<<"The answer is "<<mul<<endl;
}
#include "calculator.h"
#include <iostream>
using namespace std;
void ScientificCalculator::multiply()
{
cout<<"Enter the two numbers: "<<endl;
cin>>a>>b;
int mul;
mul = a * b;
cout<<"The answer is "<<mul<<endl;
}
Comments
Post a Comment