Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
205 B
1
Indexable
Never
#include <iostream>
using namespace std;

int main()
{
    int b;
    cin >> b;
    for (int i =0; i <= b; i++)
    {
        if (i % 2 == 0)
        {
            cout<< i << endl;
        }
    }
    
}