FRACTION.CPP SOURCE CODE.

/*FRACTION*/
#include "calculator.h"
#include <iostream>
using namespace std;
void ScientificCalculator::fraction()
{
 cout<<"Enter the two numbers: "<<endl;
 cin>>a>>b;
 cout<<"The answer obtained in the fraction is "<<a<<"/"<<b<<endl;
}

Comments

Popular posts from this blog

Scientific Calculator Project Proposal