I'm quite new to C++!! I'm also having a bit of a problem with a for loop
Its that I have an if statement inside a for loop
if (cuno == customers[i].custno)
when I try to add an else within the for, it repeats the message 3 times as this is how many records are in my array "customers".
I have tried using a break, this solves the problem but does not accept anymore inputs as correct for the if statement
Any help would be appreciated,