public class Main { public static void main(String[] args) { System.out.println("Abaixo faremos a conversão de graus Celsius para Fahrenheit");
double temperatura;
double celsius = 22.2;
temperatura = celsius;
double fahrenheit = (temperatura * 1.8) + 32;
System.out.println(String.format(" A temperatura de %.1f graus celsius equivale a %.1f Fahrenheit", celsius, fahrenheit));
}
}