Check that the power cord is connected properly to the wall and the back of the computer, and that the switch is on. If it looks ok, disconnect and reconnect both ends of the power cord to make sure the cable is not loose.
Still no luck? Try a spare cable if you have one to see if it is a faulty cable that needs replacing.