Question: Which for loop control statement would fit into the following code to print out the given output? int x; _ _ _ _ _ _

Which for loop control statement would fit into the following code to print out the given output?
int x;
____________________{//Insert code onto this line
cout << x <<",";
}
output:
31,22,13,4,
Group of answer choices
for( x =40; x >4; x = x -9)
for( x =40; x >=4; x = x -9)
for( x =31; x >=4; x = x -9)
for( x =31; x >4; x = x -9)

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!