Arrange all cards in a single pile called Pile 1

Step 2: Maintain three variables?A, B, C?and initialize them 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?Date of Birth?
Step 6: If?Date of Birth?> "30 April" and?Date of Birth?
Step 7: If?Date of Birth?> "31 August" then increment?C

Step 8: Move the current card to another pile called Pile 2 and repeat from step 3

Dear Student,

Your question is not clear and appears to be incomplete. Recheck your question or please be a little specific about the name of the chapter/textbook to which you are referring here so that we can provide you with some meaningful help.

Look forward to hearing from you again!


  • 0
What are you looking for?