—- is a user controlled jump statement which is controlled by the user.
Anonymous Quiz
60%
break;
13%
goto
15%
jump
6%
defualt
6%
stop
for(m;n;l); which steps are indicated by letters?
Anonymous Quiz
6%
(m==increase/decrease; n==initialization; l== condition)
13%
(m==initialization; n== increase/decrease;l==condition)
63%
(m ==initialization; n ==condition; l ==increase/decrease)
3%
(m==increase/decrease; n==condition; l ==initialization)
16%
none of the above
cpp-for-loop @ltc.pdf
122.8 KB
Nice pdf for -cpp looping
- nested looping
- and more
👇🏿👇🏿👇🏿👇🏿👇🏿👇🏿👇🏿👇🏿👇🏿👇🏿👇🏿👇🏿👇🏿
👉🏿https://t.me/PROGRAMINGLANGUAGES1
👆🏿👆🏿👆🏿👆🏿👆🏿👆🏿👆🏿👆🏿👆🏿👆🏿👆🏿👆🏿👆🏿
- nested looping
- and more
👇🏿👇🏿👇🏿👇🏿👇🏿👇🏿👇🏿👇🏿👇🏿👇🏿👇🏿👇🏿👇🏿
👉🏿https://t.me/PROGRAMINGLANGUAGES1
👆🏿👆🏿👆🏿👆🏿👆🏿👆🏿👆🏿👆🏿👆🏿👆🏿👆🏿👆🏿👆🏿
👍1
👆👆👆👆👆👆🏿👆🏿👆🏿
🈸 c++droid app
Good IDE. For c++ tutors on your mobile or tablet
https://t.me/PROGRAMINGLANGUAGES1
🈸 c++droid app
Good IDE. For c++ tutors on your mobile or tablet
https://t.me/PROGRAMINGLANGUAGES1
👍1
Watch "Introduction to For Loops in Python (Python Tutorial #5)" on YouTube
https://youtu.be/OnDr4J2UXSA
https://youtu.be/OnDr4J2UXSA
gcm_and_lcm.cpp
835 B
A program to find LCM and GCD of two integers.. use code::block or Falcon++
example of programe with
//continue//
#include <iostream>
using namespace std;
int main() {
for (int i = 0; i < 10; i++) {
if (i == 4) {
continue;
}
cout << i << "\n";
}
return 0;
}
/* the output is
1
2
3
4
5
6
7
8
9
10
*/
https://t.me/PROGRAMINGLANGUAGES1
//continue//
#include <iostream>
using namespace std;
int main() {
for (int i = 0; i < 10; i++) {
if (i == 4) {
continue;
}
cout << i << "\n";
}
return 0;
}
/* the output is
1
2
3
4
5
6
7
8
9
10
*/
https://t.me/PROGRAMINGLANGUAGES1
sample code with
//break// statement
#include <iostream>
using namespace std;
int main() {
for (int i = 0; i < 10; i++) {
if (i == 4) {
break;
}
cout << i << "\n";
}
return 0;
}
/*the output is
1
2
3
*/
https://t.me/PROGRAMINGLANGUAGES1
//break// statement
#include <iostream>
using namespace std;
int main() {
for (int i = 0; i < 10; i++) {
if (i == 4) {
break;
}
cout << i << "\n";
}
return 0;
}
/*the output is
1
2
3
*/
https://t.me/PROGRAMINGLANGUAGES1