Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //my way
- #include <iostream>
- #include <stdlib.h>
- using namespace std;
- int main(){
- char c[64];
- cin >> c;
- float ce = atof(c);
- float f = ce*9/5+32;
- cout << f << endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement