DIVISION.CPP SOURCE CODE FOR DIVIDING THE TWO NUMBERS

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

Comments

Popular posts from this blog

Scientific Calculator Project Proposal