
(A)y = 1; if( x >= 0 ) if( x == 0 ) y = 0; else y = -1; |
(B)y = -1; if( x != 0 ) if( x > 0 ) y = 1; else y = 0 |
(C)if( x <= 0 ) if( x < 0 ) y = -1; else y = 0; else y = 1; |
(D)y = -1; if( x <= 0 ) if( x < 0 ) y = -1; else y = 0; |
(A)y = 1; if( x >= 0 ) if( x == 0 ) y = 0; else y = -1; |
(B)y = -1; if( x != 0 ) if( x > 0 ) y = 1; else y = 0 |
(C)if( x <= 0 ) if( x < 0 ) y = -1; else y = 0; else y = 1; |
(D)y = -1; if( x <= 0 ) if( x < 0 ) y = -1; else y = 0; |
Scratch3.0 全国青少年软件编程等级考试 Python Scratch图形化一级 Scratch图形化四级 Scratch图形化三级 Scratch图形化二级 电子学会