engine wont accelerate on 2006 Chevrolet Cobalt SS

engine will idle but wont accelerate

2 answers
I have a toyota camry with the same problem and they tell me that the electronic throttle body needs replacement--$1200.
had the same problem in my 05 ss it ended up being a bad cam sensor