Advertisement
Kacper_Michalak

Zadanie 8

Oct 27th, 2020
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  1. #include <iostream>
  2. #include <math.h>
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     double temp;
  8.  
  9.     cout << "Podaj temperatrue w stopniach Celsjusza: " <<endl;
  10.     cin >> temp;
  11.  
  12.     cout << " Temperatura w Fahrenheitach: " << temp * 2 + 32 << endl;
  13.     cout << "Temperatura w Kelwinach: " << temp + 273 << endl;
  14.     return 0;
  15. }
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement