Recent content by DomBrown2406

  1. D

    Trying to make a program to take and print the natural log of a number input

    Ok, like I said I am relatively new, but I removed those & signs from printf and it works fine now, thanks :)
  2. D

    Trying to make a program to take and print the natural log of a number input

    The & sign is how my compiler knows what variable i want to use for %f etc.
  3. D

    Trying to make a program to take and print the natural log of a number input

    I'm relatively new to C programming and I am trying to make a program to take and print the natural log of a number input by the user but for some reason my program always returns incorrect answers. For example I entered 1 as my number, and the answer came back as some ridiculously big value...
Back
Top