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