Answers for ".log file read in c"

C
0

C log

#include <stdio.h>
#include <math.h>
int main()
{
    double num = 5.6, result;

    result = log(num);
    printf("log(%.1f) = %.2f", num, result);

    return 0;
}
Posted by: Guest on December-07-2021

Code answers related to "C"

Browse Popular Code Answers by Language