FW= uses a field width of seven and MAXDEC= use zero decimal places to display the statistics. CLASSDATA= and EXCLUSIVE restrict the class levels to the values in the CAKETYPE data set. PRINTALLTYPES displays all combinations of class variables in the output.
proc means data=cake range median min max fw=7 maxdec=0
           classdata=caketype exclusive printalltypes ;