LOGARITHM CPP SOURCE CODE

/*LOGARITHM.CPP*/
#include "calculator.h"
#include <iostream>
using namespace std;
#include <math.h>
void ScientificCalculator::logarithm()
{
    double a;
 cout<<"Enter the number: "<<endl;
 cin>>a;
 cout<<"The answer is "<<log(a)<<endl;
}

Comments

Popular posts from this blog

Scientific Calculator Project Proposal