LOG10 CPP SOURCE CODE
/*LOG10.CPP*/
#include "calculator.h"
#include <iostream>
using namespace std;
#include <math.h>
void ScientificCalculator::logarithm10()
{
double a;
cout<<"Enter the number: "<<endl;
cin>>a;
cout<<"The answer is "<<log10(a)<<endl;
}
#include "calculator.h"
#include <iostream>
using namespace std;
#include <math.h>
void ScientificCalculator::logarithm10()
{
double a;
cout<<"Enter the number: "<<endl;
cin>>a;
cout<<"The answer is "<<log10(a)<<endl;
}
Comments
Post a Comment