/**
* Conversion between temperatures in Celsius and Fahrenheit 
* Uses conversion forumulas from the Wikipedia entry:
* http://en.wikipedia.org/wiki/Temperature_conversion_formulas
* COP2800, Spring 2013 -- Student: <Your Name Goes Here>
* Date: 18-Jan-2013
*/
public class TemperatureConverter {
public TemperatureConverter()
{
}
// Method to convert from degrees Celsius to degrees Fahrenheit
public static float C2F(float degC)
{
float degF;
   degF = degC * 9/5 + 32;
return degF;
}
// Method to convert from degrees Fahrenheit to degrees Celsius
… Please program method F2C using this line and next four lines
…                                                        .
…                                                        .
…                                                        .
…                                                        .
// Main method demonstrating usage of above methods
public static void main(String[] args)
{
System.out.print("91 degrees Celsius in Fahrenheit is: ");
   System.out.println(C2F(91));
System.out.print("98.6 degrees Fahrenheit in Celsius is: ");
   System.out.println(F2C(98.6));
// Test the accuracy of your program by combining the two methods:
System.out.print("27.937 degrees Celsius using F2C(C2F(T)) is: ");
   System.out.println( F2C( C2F(27.937) ) );
// Be polite when you end your program
System.out.print("Goodbye. ");
}
}
