若x和y是程序中的两个整型变量,则下列if语句中正确的是
if(x==0) y=1;else y=2;
if(x==0) then y=1 else y=2;
if(x==0) y=1 else y=2;
ifx==0 y=1;else y=2;
发表评论