Advertisement
triclops200

My version

Nov 2nd, 2011
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. //my way
  2. #include <iostream>
  3. #include <stdlib.h>
  4. using namespace std;
  5. int main(){
  6. char c[64];
  7. cin >> c;
  8. float ce = atof(c);
  9. float f = ce*9/5+32;
  10. cout << f << endl;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement