Advertisement
mailnesia

Untitled

Apr 22nd, 2015
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.25 KB | None | 0 0
  1. #include<stdio.h>
  2. #include<string.h>
  3.  
  4. void c2f(float c){
  5.  
  6.     float f;
  7.     f=c*(9.0/5.0)+32.0;
  8.     printf(" %f stopni Celsjusza to %f stopni Fehrenheita\n",c,f);
  9.  
  10. }
  11. main(){
  12. float x;
  13. scanf("Podaj liczbe w stopniach Celsjusza %f", &x);
  14. c2f(x);
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement