1
resposta

Minha solução

int temperaturaCelsius;
        temperaturaCelsius = 30;

        double Fahrenheit = (temperaturaCelsius * 1.8) + 32;

        System.out.println(Fahrenheit);

        int temperaturaFahrenheit = (int )Fahrenheit;

        System.out.println(temperaturaFahrenheit);
        

Garanta sua matrícula hoje e ganhe + 2 meses grátis

Continue sua jornada tech com ainda mais tempo para aprender e evoluir

Quero aproveitar agora
1 resposta

Parabens