0
respostas

[Projeto] Exercício 3

public class Temperatura {
    public static void main(String[] args) {
        int celsiusTemperatura = 20;
        double fahrenheit = 0;

        fahrenheit = (celsiusTemperatura * 1.8) + 32;
        System.out.println("Fahrenheit: " + fahrenheit);
    }
}