If you have the following statements: int i=12, j=4; while (i>=1)
C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter5: Repetition Statements
Section: Chapter Questions
Problem 7PP
Related questions
Concept explainers
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
Question
I need the answer quickly
![Q9. *
If you have the following statements:
int i=12, j=4;
while (i>=1)
{
if (( i%2 ) == 0)
cout<<i<<',";
if (i-j)<0)
break;
else
continue;
The output value after executing the above statements is:
O 12, 11, 10, 9, 8, 7, 6, 4,
12, 11, 10, 9, 8, 7, 6, 4, 2,
O 12, 10, 8, 6, 4,
O 12, 10, 8, 6, 4, 2,](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F2d25397b-a15c-4373-b407-bd1497f17c9c%2Ff8b59faa-0bef-4f66-88bd-33b525066fcc%2Fgdn7jh_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Q9. *
If you have the following statements:
int i=12, j=4;
while (i>=1)
{
if (( i%2 ) == 0)
cout<<i<<',";
if (i-j)<0)
break;
else
continue;
The output value after executing the above statements is:
O 12, 11, 10, 9, 8, 7, 6, 4,
12, 11, 10, 9, 8, 7, 6, 4, 2,
O 12, 10, 8, 6, 4,
O 12, 10, 8, 6, 4, 2,
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)