Handling Failure
To terminate the program use the exit function
The exit function terminates the program immediately and returns its argument to the operating system
To use the exit function you need to include cstdlib.h
Convention on UNIX systems is that 1 is used as an argument if the call to exit was due to an error, and 0 otherwise