/****************************************************************************** Lab Exercise #2 -- Part C ******************************************************************************/ using namespace std; #include #include int main() { const int AAA = 9, BBB = 13; const double XXX = 17.9, YYY = 1.2e+3, ZZZ = 5.625e-12; int A, B, C, D, E; double X, Y; // Give the value displayed by each of the output operations below. A = int( XXX ); cout << "Value of A: " << A << endl; // Value of A: ____________ B = int( XXX + 4.8 ); cout << "Value of B: " << B << endl; // Value of B: ____________ C = int( XXX - AAA / 2 ); cout << "Value of C: " << C << endl; // Value of C: ____________ D = int( ZZZ ); cout << "Value of D: " << D << endl; // Value of D: ____________ E = int( YYY - ZZZ ); cout << "Value of E: " << E << endl; // Value of E: ____________ cout << setiosflags( ios::fixed ) << setprecision( 2 ); X = BBB; cout << "Value of X: " << X << endl; // Value of X: ____________ Y = double( BBB / 2 ); cout << "Value of Y: " << Y << endl; // Value of Y: ____________ }