can someone help me with this program class template and guess game

Using class template Bag to write a program that
•Randomly generate 10 integers between 0 and 99 with 0 and 99 included and put them in an instance of class Bag.

•Ask a user to make a guess. If the number that user guesses is in the bag, then give the user 10 points and remove this number from the bag. Each user can have a maximum of 10 guesses before the bag is empty.

•If the bag is empty before 10 guesses, give user an extra 200 points and either start the game over or exit the game.

•If a user uses up 10 guesses before the bag is empty, then display user’s score and either start the game over or exit the game.
What is your question?

We're not going to do your homework for you.
Post what you've written and we will answer specific questions if you get stuck.


But I'm stock I don't know to really do it, can you help me please.. or can you show me how to get started just show me the first
The very first sentence in your post precludes us from showing you how to get started on this. If the entire project is based around a class template that none of us has ever seen then how is it that you think we can help?
Last edited on
Topic archived. No new replies allowed.