Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- float fah;
- float cel;
- float kel;
- cout << "Podaj temperature w stopniach Celsjusza: ";
- cin >> cel;
- fah = cel * 1.8 + 32;
- kel = cel + 273.15;
- cout << "Temperatura w stopniach Fahrenheita: " << fah << endl;
- cout << "Temperatura w stopniach Kelvina: " << kel << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment