Question: CHALLENGE 3.4.2: Basic if-else expressions. ACTIVITY 464264 3417210.qx3zqy7 Start Complete the if-else statement to output Less than -20 if the value of inVal is less

CHALLENGE 3.4.2: Basic if-else expressions. ACTIVITY 464264 3417210.qx3zqy7 Start Complete the if-else statement to output "Less than -20" if the value of inVal is less than -20. Otherwise, outpu Ex: If the input is -22, then the output is: Less than -20 1 #include 2 using namespace std; 12345678 4 int main() { int inval; cin >> inval; 9 if (* Your code goes here */) { cout << "Less than -20" << endl; 91234 10 11 } 12 13 14 } TTT 15 16 17 } else { Check I cout << "-20 or more" << endl; return 0; Next level 2 3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!