Wouldn't you have to know the specific golf cart before you could answer this? They come in several brands and all sorts of body styles. One might fit an another not even close.
A visit to a golf cart shop might be enlightening. Or drop in at a golf course with a tape measure...
2004 American Tradition; 2014 Buick LaCRosse
Homebase in the Ocala Nat'l Forest near Ocala, FL