Code:
for(int i=0; i < 10;i++) {
cout << "Enter a number" << endl;
cin >> number;
if(number%2 == 0)
  printf("Number is Even");
else
  printf("Number is Odd");
}