Claro! Segue abaixo um exemplo de algoritmo em linguagem de programação Python que realiza a conversão de temperatura de graus Celsius para Fahrenheit: ``` # Lê a temperatura em graus Celsius celsius = float(input("Digite a temperatura em graus Celsius: ")) # Calcula a temperatura em graus Fahrenheit fahrenheit = (9/5) * celsius + 32 # Imprime a temperatura em graus Fahrenheit print("A temperatura em graus Fahrenheit é:", fahrenheit) ``` Neste exemplo, o usuário digita a temperatura em graus Celsius e o algoritmo realiza o cálculo da temperatura em graus Fahrenheit utilizando a fórmula de conversão. Em seguida, o resultado é impresso na tela.
Para escrever sua resposta aqui, entre ou crie uma conta
Compartilhar