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;
}
#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
Post a Comment