I've ran across this problem a couple of different times now and was wondering if anyone could help me out a bit
After entering the amounts, it asks for which month to review (this is were the problems start) After entering the month it goes blank, (it is asking for y/n) actually I'm not sure whats going its a mess =/ thanks
lol thanks I should of seen that b4 still not right tho.
after it gets to here:
cout<<"What month (1-"<<NUM<<") would you like to see?";
cin>>month;
it skips
cout<<"\nMonth "<<month<<"'s sales are "<<sales[month-1];
cout<<"\nContinue y/n?\n";
and goes straight to
ans = getch();
it then goes back to
cout<<"\nMonth "<<month<<"'s sales are "<<sales[month-1];
cout<<"\nContinue y/n?\n";
cout<<"What month (1-"<<NUM<<") would you like to see?";
cin>>month;
Got it! use "cin>>ans;" instead of "ans = getch()" But still dunno why the above don't work.