I need help creating the following program in C++:
Need a program to decide who is eligible for a credit card. I need to write a program to help decide who gets the credit cards. Use a function Get_Credit_Limit() to promt to ask for the customer's present credit limit. The function should return the credit limit. Use a function Get_Acc_Bal() to promt the user for the customers account balance. The function should return the accoutn balance.
Use the function Determine_Action() whose arguments are the customer's credit limit and account balance. Determine_Action() should return 0, 1, or 2 according to the following.
If a customer has a credit limit of at least $2000 and an account balance of $500 or less, the customer will receive a credit card. In this case the function should return a 2.
If a customer has a credit limit of at least $2000 and an account balance of more than $500, the customer will receive a letter stating after the customers balance falls below $500 they will receive a credit card. In this case the function should return a 1.
If a customer does not fall into either of these categories, no action will be taken. In this case, the function should return a 0.
Use a function Display_Action() to display the action that will be taken for the customer. Pass to Display_Action() the value that Determine_Action() returned. Based on this value, Display_Action() should display a message that shows the action that should be taken: issue card, send a letter, or no action.