- 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.

16th Sep 2016, 5:56 AM
Nurul Azizah
Nurul Azizah - avatar
10 Answers
+ 3
for (int x = 0; x < 7; x++) { cout << "in a loop" << endl; }
16th Sep 2016, 6:02 AM
Igor Duran
Igor Duran - avatar
+ 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
3rd Mar 2019, 3:49 PM
Amal
0
(int x = 0; < 7; x++) { cout << "in a loop" << endl; }
5th Feb 2018, 4:45 PM
SANDHIYA M
SANDHIYA M - avatar
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
3rd Mar 2019, 3:46 PM
Amal
0
for (int x = 0; x < ; x++) { << [x] << endl; }
6th Aug 2019, 4:55 PM
BALA KRISHNAN.J
BALA KRISHNAN.J - avatar
0
for (int x = 0; x < 3 ; x++ ) { cout << arr [x] << endl; }
22nd Sep 2019, 10:40 AM
Lazirdec Manliguez
Lazirdec Manliguez - avatar
0
for (int x = 0; x < 7; x++) { cout << "in a loop" << endl; }
20th May 2021, 9:26 AM
Nozim Azamov
Nozim     Azamov - avatar
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
14th Jun 2022, 11:55 AM
Jervis Russell
Jervis Russell - avatar
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
31st Oct 2022, 2:58 PM
Edgar Pichardo Luis
- 4
Type in a code to print "in a loop" to the screen 5 times using the while loop.
2nd Apr 2020, 2:47 PM
ahmed belaidi