Please explain the output of this code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please explain the output of this code

Nested While For Loop #include <iostream> using namespace std; int main () { int a=1; while (a<=15) { int c=1; for (int b=a; b<=15; b++) { cout<<b+a+c<<endl; b+=4; } a+=5; } }

13th Oct 2023, 3:20 PM
ロレアヌ ロデラス
ロレアヌ ロデラス - avatar
2 Answers
13th Oct 2023, 4:33 PM
**🇦🇪|🇦🇪**
**🇦🇪|🇦🇪** - avatar
+ 1
Thanks!
14th Oct 2023, 12:46 PM
ロレアヌ ロデラス
ロレアヌ ロデラス - avatar