The national average price for gasoline rose nearly 10 cents over the last three weeks, according to a survey released Sunday.
The average price of regular gasoline on Friday was $3.07 a gallon, mid-grade was $3.19, and premium was $3.30, oil industry analyst Trilby Lundberg said.
Of cities surveyed, the nation's lowest price was in Cheyenne, Wyo., where a gallon of regular cost $2.77, on average. The highest was in San Francisco at $3.39, according to the Lundberg Survey of 7,000 stations nationwide.
The cost of diesel was also up, with an average national price of $3.48.