Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<string.h>
- void c2f(float c){
- float f;
- f=c*(9.0/5.0)+32.0;
- printf(" %f stopni Celsjusza to %f stopni Fehrenheita\n",c,f);
- }
- main(){
- float x;
- scanf("Podaj liczbe w stopniach Celsjusza %f", &x);
- c2f(x);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement