wget
and tar
to download
your starter code.
wget
to download the file at http://cs.longwood.edu/courses/cmsc160/f17/files/lab8.tgz
tar -xvzf lab8.tgz
ls
to see that there is a new directory called lab8
cd lab8
to change directory to the lab8 directory
input: a vector of ints output: the average of the integers in the vector
input: a vector of ints output: the integer which is the median of the vector (if there are an even number of integers choose one of the two "in the middle")
input: a vector of ints, an integer num output: the number of times that num occurs in the vector
input: a vector of ints output: the most frequently occuring integer (if there is a tie choose one of the numbers)
When you are done you may hand in your lab by using make handin
.
The lab is due at 11:59pm Oct. 17th 2017.