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. return 0;
  11. }
Success #stdin #stdout 0.01s 5284KB
stdin
120
stdout
temperatura w Skali Fahrenheita: 120 stopni F to 48 stopni C