I'm pretty sure Washougal_Otaku just got slaped back, hehe
While most people consider a pumpkin to be a vegetable, as radien said, in biology a pumpkin would be a fruit. This is because fruits are considered to be the area of a plant (or whole thing?) that produce a seed. A pumpkin is basically one big seed ball. A vegetable on the other hand, would be a plant that is just roughage or does not reproduce through seed. Potato for example is more of bulb and sprouts outward to make more of itself.
(Don't hate me if I said something wrong, I cant remember exactly how everything was explained last time I read about it.) Most things we eat are probably called the wrong thing, like peas. Not a veg.