Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(){
- double temp;
- if (scanf ("%lf\n", &temp ) !=1 || temp<-2793.15 || temp>2000)
- printf("nezadal jsi správnou teplotu");
- else{
- printf("\\/\\/\\/\\\t°C\tK\t°F");
- printf("°C\t");
- printf("°K\t");
- printf("°F\t");
- printf("%f\n", temp);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement