Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created December 5, 2019 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/95ce1d8ee487255f051423dbc56c332d to your computer and use it in GitHub Desktop.
Save parzibyte/95ce1d8ee487255f051423dbc56c332d to your computer and use it in GitHub Desktop.
float fahrenheit = 0, celsius = 0;// Aquí almacenaremos las variables del usuario
printf("Dime los grados F:\n");
scanf("%f", &fahrenheit);
float equivalencia = fahrenheitACelsius(fahrenheit);
printf("Equivalen a %f\n", equivalencia);
printf("Dime los grados C:\n");
scanf("%f", &celsius);
equivalencia = celsiusAFahrenheit(celsius);
printf("Equivalen a %f\n", equivalencia);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment