1 import java.util.Scanner; 2 public class Out { 3 public static void main(String[] args){ 4 Scanner input = new Scanner(System.in); 5 System.out.println("Enter a degree in Celsius:"); 6 double celsius = input.nextDouble(); 7 double farhrenheit = (9.0/5)*celsius+32; 8 System.out.println(celsius + "Celsius is " + farhrenheit + "farhrenheit"); 9 } 10 }