How tall would a glass (in the shape of a right circular cylinder)with a diameter of 3 inches need to be to hold 12 ounces.

can anyone tell me the formula for this problem

if a ice cube is 80 cm long, 40 cm wide, and 30 cm high if 1/4 melted away how much is left