New course! Every coder should learn Generative AI!
Try a free lesson0
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; } }
2 Answers
+ 2
here, I hope its help
https://code.sololearn.com/caxvKiMDy6xD/?ref=app
+ 1
Thanks!