Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cmath>
- #include <cstdio>
- #include <conio.h>
- using namespace std;
- int main()
- {
- float c;
- float f;
- cout << " Podaj temperature w celcjuszach: ";
- cin >> c;
- cout << endl;
- f = ( c * (9.0/5) ) + 32;
- cout << " Temperatura w farenheitach wynosi: " << f << endl;
- cout<< endl;
- cout << "Temperatura w Kelwinach: " << f + 273.15 <<endl;
- system("PAUSE");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement