Hi:
I am writing code that will compute the median of a set of numbers (or grades) . I would like to know how I can make this program due two special things.
First, I would like for the code to accept a given amount of numbers defined by the amount the user would like to input.
Then I would like for this code to accept these numbers from a database that is entered like this.
>a.out <grades.cpp
I don't think that its possible to do the first part if I plan to use the second part. This is okay because I would rather use the second part.
Thanks in advance for any ideas you might have
rego
I am writing code that will compute the median of a set of numbers (or grades) . I would like to know how I can make this program due two special things.
First, I would like for the code to accept a given amount of numbers defined by the amount the user would like to input.
Then I would like for this code to accept these numbers from a database that is entered like this.
>a.out <grades.cpp
I don't think that its possible to do the first part if I plan to use the second part. This is okay because I would rather use the second part.
Thanks in advance for any ideas you might have
rego