Answer:
The height of the cylinder shaped can = 8.17 inches
Explanation:
Volume of the cylinder shaped can = 1 gallon
1 gallon = 231 cubic inches
So, Volume of the cylinder shaped can = 231 cubic inches
Radius of the can = 3 inches

Hence, The height of the cylinder shaped can = 8.17 inches