September 6th, 2012, 11:53 AM
Where did i go wrong??
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;
Click Here to Expand Forum to Full Width