nikolas_serafini

Lista 1 - Exercício 27

May 22nd, 2013
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.23 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6.     float far,cel;
  7.  
  8.     printf("Entre com a temperatura desejada, em celsius : \n"); scanf("%f",&far);
  9.  
  10.     cel = (5/9)*(far-32);
  11.  
  12.     printf("%f Celsius\n",cel);
  13.     return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment