i wrote this program using Dev++ but it only freezes when it runs, where did i go wrong??
Here's the code:
using namespace std;
cout<<"enter numbers, 0 to stop the program and display the result"<<endl;
counter1 = counter1+1;
cout<<"you have entered "<<counter1<<" Negative numbers!""<<endl;