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;
}

Comments

Popular posts from this blog

Scientific Calculator Project Proposal