Programa resuelto:
#include <stdio.h>
#include <stdlib.h>
int main()
{
double kelvin, centi;
printf("Intro kelvin: ");
scanf("%lf", &kelvin);
centi=kelvin-273.15;
printf("%lf kelvin son %lf grados C", kelvin, centi);
}
#include <stdio.h>
#include <stdlib.h>
int main()
{
double kelvin, centi;
printf("Intro kelvin: ");
scanf("%lf", &kelvin);
centi=kelvin-273.15;
printf("%lf kelvin son %lf grados C", kelvin, centi);
}
No hay comentarios:
Publicar un comentario