- 3
__ (int x = 0; ___ < 7; x++) { cout << "in a loop" << endl; }
Type in a code to print "in a loop" to the screen 7 times using the for loop.
10 ответов
+ 3
for (int x = 0; x < 7; x++) { cout << "in a loop" << endl; }
+ 2
Select the correct statements about && and || operators.
Select all that apply
a && b is true if either a or b is true
a || b is true if either a or b is true
(a || b ) && c is true if c is true and either a or b is true
a && b is false if both a and b are true
0
(int x = 0;
< 7; x++) {
cout << "in a loop" << endl;
}
0
Select the correct statements about && and || operators.
Select all that apply
a && b is true if either a or b is true
a || b is true if either a or b is true
(a || b ) && c is true if c is true and either a or b is true
a && b is false if both a and b are true
0
for (int x = 0; x <
; x++) {
<<
[x] << endl;
}
0
for (int x = 0; x < 3 ; x++ ) {
cout << arr [x] << endl;
}
0
for
(int x = 0;
x
< 7; x++) {
cout << "in a loop" << endl;
}
0
Type in a code to print "in a loop" to the screen 5 times using the while loop.
int x = 1;
while (x <=
) {
cout << "in a loop" << endl;
++;
} answer pls
0
Type in a code to print "in a loop" to the screen 5 times using the while loop.
int x = 1;
while (x <= 5
) {
cout << "in a loop" << endl;
x ++;
} answer pls
- 4
Type in a code to print "in a loop" to the screen 5 times using the while loop.