By what percent was the price of a certain candy bar increased?
(1) The price of the candy bar was increased by 5 cents.
(2) The price of the candy bar after the increase was 45 cents.
(1) The price of the candy bar was increased by 5 cents.
(2) The price of the candy bar after the increase was 45 cents.