Is there any way to make a cube at say (0,0,0) with a certain size, we'll say (100, 100, 50)

Ok so it's a rectangle, but same thing, anyone know of a way to do this?

Thanks