Your help files (press F1) should cover things as simple as this. You pretty much answered it yourself, just create a polygon sphere, then a polygon cylinder and then move and scale accordingly. Probobly wanna do a boolean union afterwards.