• 2022-06-16
    为三个整型变量x,y,z分别赋值8,9,4,请输出其中的最大值的程序段为( )
    A: declare @x int,@y int, @z int declare @m int select @x=8,@y=9,@z=4 if @x
    B: declare @x int,@y int, @z int declare @m int select @x=8,@y=9,@z=4 if @x>@y set @m=@x else set @m=@y if @m>@z set @m=@z print @m
    C: declare @x int,@y int, @z int declare @m int select @x=8,@y=9,@z=4 if @x>@y if @x>@z print @x
    else print @z else print @y
    D: declare @x int,@y int, @z int declare @m int select @x=8,@y=9,@z=4 if @x>@y set @m=@x else set @m=@y if @m