The formula for the volume of a cone V = (1/3) 𝜋r2h, where r = radius and h = height.
\The volume of a cone is 18𝜋 in3.
\𝜋r2h/3 = 18𝜋
\Multiply each side by (3/𝜋).
\(𝜋r2h/3)*(3/𝜋) = (18𝜋)*(3/𝜋)
\r2h = 54
\r2h = 2*3*3*3
\r2h = 6*32.
\r2×h = 32×6.
\From the above equation, r = 3 and h = 6.
\Diameter d = 2r = 2*3 = 6 inches and height h = 6 inches.
\Option B is correct answer.