This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Please, TellTheDetails(<-click). Can you please provide more details about what errors are you facing? I found a couple of compilation errors when I copy-pasted your code:
1) degreesInFahrenheit is int and 32.0 is double. You need to make sure that datatypes are same during subtraction.
2) Strangely, the minus sign gave me another error - it looks like some other character than minus sign.
Apart from this, let us know if you face any other issues.
Also, please UseCodeTags(<-click). Code tags can be added by using 'Code' button during writing the post. I've added those for you this time.