I'm trying to print all positive even integers less than or equal to a max value. in my case it's 10. This is my starting point and i'm lost
/////
#include <iostream>
#include <math.h>
using namespace std;
int main(printEvenNums){
int userChoice = 0;
while (userChoice != 0)
int i = 0;
while (i < 10)
{
cout<< i << endl;
i = i + 2;
}
}