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

Popular posts from this blog

Reflections from Blown to Bits Ch. 3 (Homework- 9/28/17)

Unit 3 Lesson 5- Creating Functions (Diamond Code)

Blown to Bits Appendix/Ch.3 Reflection (Homework- 10/11/17)