fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int f;
  6. cout << "temperatura w skali Fahrenheita: ";
  7. cin>>f;
  8. cout << f << " stopni F to "<< (f-32)*5/9 ;
  9. cout << " stopni C "<< endl;
  10.  
  11. return 0;
  12. }
Success #stdin #stdout 0.01s 5316KB
stdin
79
stdout
temperatura w skali Fahrenheita: 79  stopni F to 26  stopni C