Skip to content

mckerracher/Random-Number-Sorter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Random-Number-Sorter

Objectives

  • Using indirect addressing
  • Passing parameters on the stack
  • Generating “random” numbers
  • Working with arrays

Description: write a MASM program to perform the tasks shown below

  • Get a user request in the range [min = 15 .. max = 200].
  • Generate request random integers in the range [lo = 100 .. hi = 999], storing them in consecutive elements of an array.
  • Display the list of integers before sorting, 10 numbers per line.
  • Sort the list in descending order (i.e., largest first).
  • Calculate and display the median value, rounded to the nearest integer.
  • Display the sorted list, 10 numbers per line.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published