how we write the output of this code?

closed account (G187ko23)
int main()
{ int a=5,b,c;
do {
for (b=1; b<= a; b++)
{ if (b%2==1)
continue;
cout << b;
}
cout << endl;
} while (--a >0);
return 0; }
Last edited on
Topic archived. No new replies allowed.