The department-store customer has exceeded the credit limit on a charge account. For each customer, the following facts are available:

(i) Account number

(ii) Balance at the beginning of the 1nonth

(iii) Total of all items charged by this customer this month

(iv) Total of all credits applied to this customer ‘s this month

(v) Allowed credit limit

The program should use a while statement to input each of these facts, calculate the new balance(beginning balance + charges­ credits) and determine whether the new balance exceeds the customer ‘s credit limit. For those customers whose credit limit is exceeded, the program should display the customer ‘s account

number, credit limit, new balance, and the message “Credit Limit Exceeded.”

b) A palindrome is a number or text phrase that reads the same backward as forward. For example, each of the following five­ digit integers is a palindrome: 12321, 55555, 45554 and 11611. Write a C++ program that reads in a five-digit integer and determines whether it’s a palindrome. (hint use the division

and modulus operators to separate the number into its individual digits)