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);
        

Matricule-se agora e aproveite até 50% OFF

O maior desconto do ano para você evoluir com a maior escola de tecnologia

QUERO APROVEITAR
1 resposta

Parabens