1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdio.h>
#include <stdlib.h>

int main (void)
{
    float grados_celcius, grados_fahrenheit;
    printf ("Ingresa el valor de grados celcius: ");
    scanf ("%f", &grados_celcius);
    (void) getchar ();
    grados_fahrenheit=1.8*grados_celcius+32;
    printf ("Valor de grados fahrenheit: %g\n", grados_fahrenheit);
    putchar ('\n');
    system ("pause");
    return EXIT_SUCCESS;
}