Given the following code, what prints? (Do NOT type this code into your IDE - you should be able to solve it by hand. FILL in the values in the comments at lines 6, 10, 14, 21, 26, and 31. Take a pic if necessary.
#include <iostream>
using namespace std;
int main() {
int a{ 5), b{ 10), c{15}, d{ 3 };
int temp;
if (a < b) { // a: \_\_\_\_\_\_ b: \_\_\_\_\_\_
temp = a;
a = b;
b = temp;
if (a < c) { // a: \_\_\_\_\_\_ c: \_\_\_\_\_\_
temp = a;
a = c;
c = temp;
if (a < d) { // a: \_\_\_\_\_\_ d: \_\_\_\_\_\_
temp = a;
a = d;
d = temp;
}
}
}
if (b < c) { // b: \_\_\_\_\_\_ c: \_\_\_\_\_\_
temp = b;
b = c;
c = temp;
}
if (b < d) { // b: \_\_\_\_\_\_ d: \_\_\_\_\_\_
temp = b;
b = d;
d = temp;
}
else if (c > d) { // c: \_\_\_\_\_\_ d: \_\_\_\_\_\_
temp = c;
c = d;
d = temp;
}
cout << a << "," << b << "," << c << "," << d << endl;
return 0;
}