Write a program that reads n<1000 then n numbers each of which is between 1 and 1000 inclusively from the input. Then, your program will find the numbers that exist more than once and output them. Solve this problem without using nested loops.
This is not a homework site. We won't do your homework for you. However we are always willing to help solve problems you encountered, correct mistakes you made in your code and answer your questions.
We didn't see your attempts to solve this problem yourself and so we cannot correct mistakes you didn't made and answer questions you didn't ask. To get help you should do something yourself and get real problems with something. If your problem is "I don't understand a thing", then you should go back to basics and study again. As it is impossible to find derivative of function without knowledge in arithmetics, you cannot do more complex tasks in programming without clear understanding of basics
If you want someone to do your work for you, consider paying them. If you want help however, that's a different story. People will help you here for free, provided you show what you've already done.
But, unless you show what you've done, you do it yourself, or you pay someone, your assignment will not get done.
If you really do not want to do this yourself, consider making a job request on the proper forum. I'm sure people will be more than happy to do your homework for pay.