ok i need to know why & how much to repair this ..

friend drove down from nyc with a car he bought of a family friend ..
car turns and starts fine .. but the problem is after u fill it up with gas ..
it wont start at all unless you turn the key and pump the gas pedal ..
anybody have any clue what the problem is ??