import java.io.*; public class Graus { public static void main(String []args) { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); try { int cel, fah; System.out.print("INFORME A TEMPERATURA EM FAHRENHEIT:"); fah = Integer.parseInt(in.readLine( )); cel = ((fah-32)*5)/9; System.out.print("O VALOR " + fah + " FAHRENHEIT EQUIVALE A " + cel + " CELSIUS."); } catch(IOException e) { System.out.print("Erro de leitura"); } } } /* início real: Fah,Cel; escreva ("Informe a temperatura em Fahrenheit:"); leia (Fah); Cel? (( Fah - 32 )* 5) / 9; imprima ("O valor de" ,Fah, "Fahrenheit equivale a" ,Cel, "Celsius"); fim. */