Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <conio.h>
- main ()
- {
- float temperaturaC, temperaturaF;
- printf ("Digite aqui a temperatura em graus Celcius: ");
- scanf ("%f", &temperaturaC);
- temperaturaF = (9*temperaturaC+160)/5;
- printf ("Temperatura em graus Fahrenheit: %.2f", temperaturaF);
- getch ();
- }
Advertisement
Add Comment
Please, Sign In to add comment