cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
who can solve it?
who can solve it?
Dec 11, 2012 at 6:39pm UTC
diaryrashid
(1)
write a program to print out the value of ln(x) and log(x) for any three diffrent values of X
Dec 11, 2012 at 8:29pm UTC
hamsterman
(4538)
See
http://cplusplus.com/reference/cmath/log/
and
http://cplusplus.com/reference/cmath/log10/
Dec 11, 2012 at 8:30pm UTC
Stewbond
(2827)
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
Dec 11, 2012 at 8:31pm UTC
Topic archived. No new replies allowed.