1234567891011121314
int main() { int input = 0; int count = 0; cout << "Enter a value: "; cin >> input; while (count < input) { count +=2; cout << count; } }