View Single Post
Go4Expert Member
20Mar2010,06:23  
ladyluck4772's Avatar
What does the "exit (1) in the following mean? We have not covered that in computer class yet.

if you want to terminate your program immediately you can do this:
if (northRegionSales<0) exit(1);

put it under all
cin<<nortRegionSales;