Question: CHALLENGE 3.5.2: Basic if-else expression. CTIVITY 361939.2357830.quazay7 Jump to level 1 Write an expression that will cause the following code to print greater than 20
CHALLENGE 3.5.2: Basic if-else expression. CTIVITY 361939.2357830.quazay7 Jump to level 1 Write an expression that will cause the following code to print "greater than 20" if the value of userAge is grea 1 #include 2 using namespace std; 3. 4 int main() { int userAge; cin >> userAge; // Program will be tested with values: 19, 20, 21, 22. 8 if ( Your code goes here */) { cout << "greater than 20" << end11 else { cout << "20 or less" << endl; 12 13 15 16 return 0; 17 } 1 21 Check Next to cearch 999 2 2 4567
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
