I need a little help. The problem is
Write a function named maxValue that has three integer parameters. The function should compare the three values and return the highest value.
Yeah but you could pass a list and use an iterator. It also assumes the type has an overloaded > operator plus the OP asked for ints and said he was new to c++ :)