C++ swap
C++ Swap
#include <iostream> using namespace std; int main() { // your code goes here double A, B, C, D; A = 4736.383; B = 7490.924; C = 1; D = 1; C = C * A; D = D * B; A = A - A; B = B - B; A = D; B = C; cout << "A ist jetzt B: \n" << A ; cout << endl; cout << "B ist jetzt A: \n"<< B; return 0; }
Revision -1:000000000000, committed 1970-01-01
- Comitter:
- Date:
- Thu Jan 01 00:00:00 1970 +0000
- Commit message: