研究下面一段程序的功能,并将它改写成具有良好风格的程序。
if(x<y)
goto L30;
if(y<z)
Goto L50;
small=z;
goto L70;
L30:
if(x<z)
goto L60;
samll=z;
goto L70;
L50:
small=y;
goto L70;
L60:
small=x;
L70:
if(x<y)
goto L30;
if(y<z)
Goto L50;
small=z;
goto L70;
L30:
if(x<z)
goto L60;
samll=z;
goto L70;
L50:
small=y;
goto L70;
L60:
small=x;
L70: