Created
April 28, 2020 05:19
-
-
Save parzibyte/bbcbda01e58d7d69504e690f76c27911 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void main(String[] argumentos) { | |
float celsius; | |
Scanner sc = new Scanner(System.in); | |
System.out.println("Ingresa los grados celsius: "); | |
celsius = sc.nextFloat(); | |
// Calcular | |
float fahrenheit = celsiusAFahrenheit(celsius); | |
System.out.printf("%f grados celsius son %f grados fahrenheit", celsius, fahrenheit); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment