Use code tags and I might help you, I'm done helping people that don't use code tags. Seriously it's really starting to get annoying it seems like NO ONE uses code tags anymore. >:O
Compiled it.
1 you should need to #include <ctime> to use time()
2 after your for loop i = 20 and thus numbers[i] is reading out of bounds. also, that's why it only loops once.
They're the little <> icon to the left (under Format:). Select your code in the post and press that and your code will be properly formatted for viewing.
you make a mistake in do while loop you are using same variable "i" in for and in do while just change the variable in do while or assign "0" to i and then use it in do while
Charles, mine is similar to yours, only loops once though! but it compiles, whih is a whole lot better than anything I've had happen the last two programs, so, I might leave it as is. I fear if I change anything I'll get a million errors like usual.