Work Group Department Store Latest Analytics Shows Bug Allows Customers Go Credit Limit Co Q43859356
You work in the IT group of a department store and the latestanalytics shows there is a bug that allows customers to go overtheir credit limit. The company’s president has asked you todevelop a new algorithm to solve this problem.
Create your algorithm using pseudocode thatdetermines if a department store customer has exceeded their creditlimit. Be sure you gather the following inputs from the user:
- Account number
- Balance of the account
- Total cost of all the products the customer is looking topurchase
- Allowed credit limit
After you gather the inputs, make sure your algorithm calculatesif the user can purchase the products and provides a message to theuser indicating if the purchase is approved or declined.
Expert Answer
Answer to You work in the IT group of a department store and the latest analytics shows there is a bug that allows customers to go…
OR