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 5320KB
stdin
226
stdout
temperatura w skali Fahrenheita 226 stopni F to 107 stopni C