9951 explained code solutions for 126 technologies


cGet the logarithm of a number (base-10)


#include <math.h>
log10(x);ctrl + c
include <math.h

Name of library to be included

log10(x)

Function to get the logarithm of x