Question: Use the code below, to answer the following questions: What is the minimum number of code blocks(cout's) that will run? What is the maximum number
Use the code below, to answer the following questions:
- What is the minimum number of code blocks(cout's) that will run?
- What is the maximum number of code blocks(cout's) that will run?
- if( day =="Saturday") { cout << " part 1 "; } else if ( x > 25 ) { cout << " part 2 "; } else if ( z ==42 ) { cout << " part 3 "; }
- What is the minimum number of code blocks(cout's) that will run ?
-
What is the maximum number of code blocks(cout's) that will run?
- if( day =="Saturday") { cout << " part 1 "; } else if ( x > 25 ) { cout << " part 2 "; } else { cout << " part 3 "; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
