Simple program to check if a credit limit has been exceeded