DAT210_Wk1___Create_an_Algorithm_Using_Pseudocode.docx Create an Algorithm Using Pseudo
- From Economics, General Economics
- Termpaper
- Rating : 3
- Grade : B
- Questions : 0
- Solutions : 15269
- Blog : 0
- Earned : $2452.10
DAT210_Wk1___Create_an_Algorithm_Using_Pseudocode.docx Create an Algorithm Using Pseudocode DAT 210 Assignment Content You work in the IT group of a department store, and the latest analytics shows there is a bug that allows customers to go over their credit limit. The company's president has asked you to develop a new algorithm to solve this problem. Create your algorithm using pseudocode that determines if a department store customer has exceeded their credit limit. 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 to purchase Allowed credit limit After you gather the inputs, make sure your algorithm calculates if the user can purchase the products and provides a message to the user indicating if the purchase is approved or declined. SOLUTION The algorithm is going to verify the customers credit account limit and check if the purchase(s) can be made. def main(): #take all the required input    acc_num = input ("Account Number: ")    acc_balance = float (input("Balance: "))    total_cost = float (input("Total cost of purchase: "))    CreditLimit = float (input("Credit limit: "))
[Solved] DAT210_Wk1___Create_an_Algorithm_Using_Pseudocode.docx Create an Algorithm Using Pseudo
- This solution is not purchased yet.
- Submitted On 18 Jun, 2022 04:43:44
- Termpaper
- Rating : 3
- Grade : B
- Questions : 0
- Solutions : 15269
- Blog : 0
- Earned : $2452.10