As an illustrative example, I'll be using statcrunch on your class height data.
Stat -> Tables -> Contingency ->
(then either data or summary, depending on what you have)