Wrong anti-spam code

Formulation

The user input starts with red numbers. The red numbers are positive integers. When the user inserts 0 or a negative number, the user signals that the input of the red numbers is over. After the red numbers, the user inserts the green numbers. The green numbers are also positive integers. A negative number or 0 is the signal that the input of the green numbers is over. Create a C++ program that counts the total number of red numbers that are not green.

Your submission


Picture
Prove that you are not a robot.