If a rectangular prism and a cylinder have the same height and same area of bases, which is true about the volumes of the prism and cylinder?