Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started