Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C++
log base 10 c+_+
Howard Pautz
Programming language:
C++
2021-04-18 07:13:35
0
Q:
log base 10 c+_+
Bestils
Code:
C++
2021-03-26 08:53:04
int intlog(double base, double x) { return (int)(log(x) / log(base)); }
2
Blackpool Towr
Code:
C++
2021-01-20 01:34:04
double log10(double x)
0
Tags
log
base
Related
square c++
cout value c++
memset c++
bitset c++
c++ base 10 to base 2
set c++
abs in c++
log base e synthax c++
sum of stack c++
how to access last element of set in c++
c++ cout int
how to get last element of set in c++
print c++
how to make a login c++
log base c++
get line C++
how to get input from the console in c++
New to Communities?
Join the community