import java.util.Scanner;
public class Main {
public static void main(String[] args) {
double celsius;
Scanner temperatura = new Scanner(System.in);
System.out.println("Informe a temperatura em graus celsius: ");
celsius = temperatura.nextDouble();
double fahrenheit = (celsius * 1.8) + 32;
System.out.println(String.format("Temperatura em fahrenheit: %.1f" , fahrenheit));
System.out.println("Temperatura em fahrenheit sem casas decimais: " + (int) fahrenheit);
}
}