public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println("Ingrese la cantidad de grados Celcius :");
double gradosCelcius = scanner.nextDouble();
System.out.println("La cantidad de grados Celcius ingresados es: " + gradosCelcius);
int gradosFahrenheit = (int) (gradosCelcius * 1.8) + 32;
System.out.println(gradosCelcius+ " grados Celsius equivalen a " + gradosFahrenheit + " grados Fahrenheit.");
System.out.println(gradosFahrenheit);
}
}