i want this program in core java language without use of array…use only random no to take 10 no
Homework ? I’m afraid we are too busy to do that for you.
Put in some effort and write algorithm or code and we will be happy to help but no spoon feeding!!