I am still learning C++ and having an ECPC Competition tomorrow. You are given a positive integer N. Find the minimum positive integer divisible by both 2 and N. What should I do in the for loop? (still not completed)
#include <iostream>
using namespace std;
int main()
{
int n;
cin>> n;
for(int i; ???;i++)
return 0;
}