10 lines
157 B
C++
10 lines
157 B
C++
|
#include <complex.h>
|
||
|
|
||
|
void main( void ) {
|
||
|
|
||
|
Complex a (24, 27);
|
||
|
|
||
|
cout << "The natural logarithm of " << a << " = "
|
||
|
<< log( a ) << endl;
|
||
|
}
|