Math, asked by nandhusai02, 6 months ago

What will be the value of X after execution of the following procedure using the “Shopping Bills” dataset?

Step 1. Arrange all cards in a single pile called Pile 1
Step 2. Maintain five variables A, B, C, D, Y and initialize them to 0
Step 3. Maintain a variable X and initialize it to “None”
Step 4. If Pile 1 is empty then stop the iteration
Step 5. Read the top card in Pile 1
Step 6. If the customer name is “Akshaya” then add total bill amount to A and if A > Y then store A in Y and “Akshaya” in X
Step 7. If the customer name is “Advaith” then add total bill amount to B and if B > Y then store B in Y and “Advaith” in X
Step 8. If the customer name is “Abhinav” then add total bill amount to C and if C > Y then store C in Y and “Abhinav” in X
Step 9. If the customer name is “Ahmed” then add total bill amount to D and if D > Y then store D in Y and “Ahmed” in X
Step 10. Move the current card to another pile called Pile 2 and repeat from step 4

Answers

Answered by joshisourabh97
0

Answer:

what in the world is this is this a question?

Similar questions