Advertisement
Guest User

Untitled

a guest
Oct 17th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main(){
  4. double temp;
  5. if (scanf ("%lf\n", &temp ) !=1 || temp<-2793.15 || temp>2000)
  6. printf("nezadal jsi správnou teplotu");
  7. else{
  8. printf("\\/\\/\\/\\\t°C\tK\t°F");
  9. printf("°C\t");
  10. printf("°K\t");
  11. printf("°F\t");
  12. printf("%f\n", temp);
  13. }
  14. return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement