<< ok someone tell me how? >>
you gotta have some sort of plan on how you're gonna do this. You can't just expect people to design it for you and give you detailed step by step instructions.
Midnight Rambler gave you a pretty good idea.
There's two ways to do it. Either choose a trebuchet/mongrel/catapul type launcher or a canon/artilery style one.
I suggest the canon style. Put the ball in a barrel. Mount the barrel on a base with adjustable launch angle, then come up with some sort of spring or elastic launching mechanism. Next, calibrate the launcher and you're set.
<< Damn, some people have EASY physics projects. we had to do way harder stuff that catupult a ball 12 feet >>
Bah! Next semester I'll have to make one that gfoes anywhere from 2 to 8 meters (it could be anyting in between, so you have to calibrate -- A LOT) and hit a target 10cm in diameter! the bonus on that project will be to hit a quater from 4 meters!!!! (10feet).
I'm thinking of an elaborate air pressure launching system....we'll see how it goes.