If you want the best bang for your buck, I would strongly suggest to build a custom PC. Pre-built computers are mediocre, but are often times overpriced.
What is your friend going to be using this computer for (ie, graphics, gaming, surfing the web)?
What is your friend going to be using this computer for (ie, graphics, gaming, surfing the web)?