Question
Suppose x = 1, y = -1, and z = 1. What will bedisplayed by the following statement? (Pleaseindent the statement correctly first.) if (x > 0) if (y > 0) cout << "x > 0 and y > 0" << endl; else if (z > 0) cout << "x < 0 and z > 0" << endl; O A. x > 0 and y > 0; O B. x < 0 and z > 0; O C. x < 0 and z < 0; O D. none
Question image 1Question image 2Question image 3Question image 4Question image 5Question image 6Question image 7Question image 8Question image 9Question image 10