Assembly Irvine VS 2012: sorting with out using arrays

profileMojoWinnie

You are to write a program which should first ask for 5 random numbers from 0-20 (user will input these numbers in no preset order). Input these 5 numbers in variables called num1, num2, num3, num4, and num5.



When done, your program should sort these numbers (you will use lots of conditions to check order). 



num1 should contain smallest number while num5 should contain the biggest.



display the contents of num1 through num5 on the screen.

 

I have an code handout to help too..

    • 10 years ago
    • 75
    Answer(1)

    Purchase the answer to view it

    blurred-text
    • attachment
      numsort_without_arrays.zip