ANSWER:
11 gallons
Explanation:
We can calculate the amount of gallons to be able to whistle 7 rooms by means of the following proportion:

Let x be the number of gallons needed, we solve for x:

Since they must be whole gallons, it takes 11 gallons to paint 7 rooms.