Is there something about CODE tags you don't understand? If not, you can either ask or read those words on the back of the input box for information.
The project states "Test it with a main program that takes as input an integer count followed by that many values." Where did you read an integer count? Doesn't getline() read a string, not a list of integers? You need to use a loop to read (and output) your numbers.
Reputation Points: 3278
Solved Threads: 894
Posting Sage
Offline 7,747 posts
since May 2006