Is a 6 megapixel camera good?
Also, do more megapixels mean better photo quality?
More Megapixels does not mean more quality The quality of a camera is decisively influenced by the sensor quality, not only by its Megapixel resolution. Basically, if you use a worse camera and worse lenses with more Megapixels, you will have more worse quality pixels.
Keeping this in consideration, how many megapixels is good for a camera?
The general rule for high quality sharp prints is 300 pixels per inch. So an 8x10 inch print needs 8x300x10x300 = 7.2 megapixels. One can still make very nice 8x10 inch prints with less megapixels, but the lower the megapixel count, the softer the image.
The short answer to this question is yes. 5 megapixels is enough to have in your camera if your end goal is to take pictures to be displayed on computer screens. However more megapixels will give you more freedom in your photography.