+ 3

Please help me to find solution.

C++ program to count even number from a queue I have attached my c++ program please guide me if I have to modify anywhere in the program https://code.sololearn.com/c9WD2IXbk69F/?ref=app And please upvote if you can't help so that it will reach to right person.

5th May 2021, 2:22 PM
Utsav Singh
Utsav Singh - avatar
1 Réponse
+ 1
unsigned count = 0; for (int x=2; x<=a; x+=2){ cout << x << endl; count++; } It is that simple
5th May 2021, 2:36 PM
Michal Doruch