The economy slowed sharply in the first three months of the year. High gas prices cut into consumer spending, bad weather delayed construction projects and the federal government slashed defense spending by the most in six years.