#include <stdio.h>
#include <conio.h>
main () {
float pes, polegadas, milhas, jardas;
printf ("##### ESTE PROGRAMA FAZ A CONVERSAO DA MEDIDA DE PES #####\n");
printf ("Informe a medida em pes: ");
scanf ("%f", &pes);
polegadas=12*pes;
jardas=pes/3;
milhas=(jardas/1760);
printf ("a) Polegadas: %.2f\n", polegadas);
printf ("b) Jardas: %.2f\n", jardas);
printf ("c) Milhas: %f", milhas);
getch ();
}
Este comentário foi removido pelo autor.
ResponderExcluir