class Conversor { public static void main(String[] args) { Conversor marie = new Conversor(); double tf = marie.converteCparaF(37.33433); double tc = marie.converteFparaC(110.3); System.out.print("A temperatura é " + tf + "°F"); System.out.println("A temperatura é " + tc + "°C"); } double converteFparaC(double tf) { return 5 * (tf - 32) / 9; } double converteCparaF(double tc) { return (tc * 9 / 5) + 32; } }