Guys I need help...this code only counts the first input from the user and leaves the other following number.
Can you help me to make it read and count the next numbers
#include<iostream>
using namespace std;
int main()
{
int num;
int count = 0;
cout << "Enter the list of numbers: ";
cin >>num;
if (num < 1000) {
count = count + 1;
}
cout << count ;
}