Finding Min. Value of Card Instructions
Challenge: Find Min.- Instructions Program
1. Move LH to position 1 if LHCard gt RHCard
2. Shift RH to R
3. Move LH to position 2 if LHCard gt RHCard
4. Shift RH to R
5. Move LH to position 3 if LHCard gt RHCard
6. Shift RH to R
7. Move LH to position 4 if LHCard gt RHCard
8. Shift RH to R
9. Move LH to position 5 if LHCard gt RHCard
10. Shift RH to R
11. Move LH to position 6 if LHCard gt RHCard
12. Shift RH to R
13. Move LH to position 7 if LHCard gt RHCard
Comments
Post a Comment