hi can someone help - when i calculate the percentage different of the actual number and the approximate number (calculating farenheit when knowing celsius) with this formula it always returns 0? cant seem to work it out
How do you have your variables defined? Sounds like you might be running into integer division giving you result of 0. I defined them as double and the output works with the rest of your code.