fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main(void) {
  4.  
  5.  
  6. float a,b,c;
  7. std::cin >>a>>b;
  8. c = a;
  9. a = b;
  10. b = c;
  11. std::cout<<"die untere zahl(jetzt a) "<<a;
  12. std::cout<<"\ndie obere zahl(jetzt b) "<<b;
  13.  
  14.  
  15. return 0;
  16. }
Success #stdin #stdout 0s 3460KB
stdin
1.235
2.2345
stdout
die untere zahl(jetzt a) 2.2345
die obere zahl(jetzt b) 1.235