I am trying to do a homework problem, however, I do not understand the question.

As the course just started, we are using pseudo-code. Here's the question:

Describe an algorithm for a computation that takes two inputs, a list of numbers and an integer n and returns the nth smallest element in the list.


Any help would be appreciated.

Thanks in advance!

All you are really doing here is writing down pseudocode (the steps you will take) to complete the program

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.