public class DegreesConverter {
public static void main(String[] args) {
System.out.println("This program converts a temperature in degrees Celsius into a temperature in degrees Fahrenheit");
System.out.println("Enter temperature in degrees Celsius");
Scanner input = new Scanner(
System.in);
double userInput = input.nextDouble();
double fahrenheit = (9.0/5.0) * userInput + 32;
System.out.println(userInput + " degrees Celsius is equal to " +fahrenheit + " degrees Fahrenheit");
System.out.println("Goodbye");
}
}