gas gauge quit working, also check eng. light is on, everything else works? on 2010 Chevrolet Malibu

parked car one evening all was working good then next day the check eng. light stays on, and the gas gauge dosn't work. what is wrong with it?

Asked by for the 2010 Chevrolet Malibu
Have the check engine light scanned and post the codes first.
if i done that id be at a shop that could tell me whats wrong, but thanks anyway
Wow you could have gone to a chain parts store and have it done for free. Who's the ass now.