How can i write "" ln 3 "" on c++ ?

Dimesh's Avatar, Join Date: Jul 2010
Go4Expert Member
Hi.
-----
Thanks for reading ...

I want to write for example: ln 3

Is there is any command or function for it ...!
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
You have to find the ASCII character for the same (assuming it exists)
0
virxen's Avatar, Join Date: Nov 2009
Pro contributor
maybe you want this

Code:
#include<stdio.h>
#include<math.h>
int main(){
    double e = 2.718281828;
    double x = log(e);
    printf("%f",x);
    getchar();
    return 0;
}