who can solve it?

diaryrashid (1)
write a program to print out the value of ln(x) and log(x) for any three diffrent values of X
Stewbond (1669)
1
2
3
4
5
6
7
8
#include <iostream>
using namespace std;
int main()
{
  double x;
  cin >> x;
  cout << log(x);
}
Last edited on
Registered users can post here. Sign in or register to post.