Advertisement
int8

Celcius to Fahrenheit C++ code

Aug 5th, 2020
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.15 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6.   float c, f;
  7.   cin >> c;
  8.   f = c * 1.8 + 32;
  9.   cout << f;
  10. }
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement