+ 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.
1 Answer
+ 1
unsigned count = 0;
for (int x=2; x<=a; x+=2){
cout << x << endl;
count++;
}
It is that simple