Hi y'all. I was wondering if someone could help me out a little bit. I have a couple problems due in my Scientific Programming class, and I am fairly lost. I posted another question in the C forum, but I think I was able to solve it on my own. It may not be pretty, but at least it works.
Now, I am stumped on another problem. The question is as follows:
Write a program that reads a positive number and then computes and prints the logarithm of the value to base 8. For example, the logarithm of 64 to base 8 is 2 because....etc
So, being that it has been about 13 years since I have taken math classes, coupled with the fact that I apparently am not too sharp when it comes to programming, I am not exactly sure how I am to get to the answer I want. I understand that to get to the answer, I need to take the (log x)/(log of 8), but I am really unsure of how to enter that into C.
Any tips would be greatly appreciated.