no1zson> can somebody look at my IF loop (the first one for selcting 1-3) and see where I am going wrong?
I am sure we can guess what you are trying to do, but don't you think it would be more effective if you tell us what is supposed to do and what's doing which is not the expected result?
no1zson> if storenum >=1 || if storenum <=3]
if (storenum >= 1 && storenum <= 3) {
/* do something */
}
Aia
Nearly a Posting Maven
2,392 posts since Dec 2006
Reputation Points: 2,224
Solved Threads: 218
Don't use goto, try a function. You already have a switch in an if statement, don't make it any more complex.
Avoid fflush() and look into a replacement of scanf()
MosaicFuneral
Posting Virtuoso
1,691 posts since Nov 2008
Reputation Points: 888
Solved Threads: 116