What will be the value of X after execution of the following procedure using the “Scores” dataset?
Step 1. Arrange all cards in a single pile called Pile 1
Step 2. Maintain a variable X and initialize it to 0
Step 3. If Pile 1 is empty then stop the iteration
Step 4. Read the top card in Pile 1
Step 5. If Town/City is “Chennai” and TOTAL marks > X then store TOTAL marks in X
Step 6. Move the current card to another pile called Pile 2 and repeat from step 3
Answers
Answered by
0
Answer:
your questions is incomplete
x= TOTAL marks
Explanation:
but if there is only one data set present pile 1
then x will be equal to TOTAL marks
Similar questions