/* PROGRAMA QUE CONVIERTE UNA LONGITUD DADA EN CM A FT
AUTOR: CARLOS E. LÓPEZ */
#include <stdio.h>
#include <stdlib.h>
main()
{
float cm = 0;
float ft= 0;
printf("\nPROGRAMA QUE CONVIERTE UNA LONGITUD DADA EN CM A FT \n\n");
printf("Digite la cantidad en cm: ");
scanf ("%f",&cm);
ft = 30.48 / (cm*100);
printf ("\nEL EQUIVALENTE EN FT ES: %f\n\n\n\n",ft);
system("PAUSE");
return 0;
getch();
}
AUTOR: CARLOS E. LÓPEZ */
#include <stdio.h>
#include <stdlib.h>
main()
{
float cm = 0;
float ft= 0;
printf("\nPROGRAMA QUE CONVIERTE UNA LONGITUD DADA EN CM A FT \n\n");
printf("Digite la cantidad en cm: ");
scanf ("%f",&cm);
ft = 30.48 / (cm*100);
printf ("\nEL EQUIVALENTE EN FT ES: %f\n\n\n\n",ft);
system("PAUSE");
return 0;
getch();
}