array question

Im supposed to use an one dimensional array to solve the following problem:

-read 20 numbers between 10 and 100 inclusive
-after you read a number validate and store in an array if not duplicate of number already read.
-after reading the numbers display only unique that user entered
-provide for the worst case in which all 20 are different,
-use smallest possible array

I dont even know where to start.If anyone can help i would appreciate it.
read 20 numbers
Start from there: read 20 numbers

between 10 and 100 inclusive
If the number you get is between 10 and 100 continue to the next point otherwise get another number
hi,

i hope you are on line now. I just registered on line with this C++ web site about 30 minutes ago. I am not sure how to use this particular web site. It appears that I cannot post any questions or help with c++.

Anyway, my email address is gregdarnell@knology.net. I just grabbed your name at random on the array question forum. Is there a time frame before I can use the forum. I would love to hear from you at my email address. I hope I am not bothering you.

I am just new to this we site and I have no one to contact.

Thank you.

Greg Darnell
@greg022549
As you aren't the 1st person with this problem, I've created an article for that http://www.cplusplus.com/forum/articles/9044/
Topic archived. No new replies allowed.