程序LOCICAL PREAD(*,*)X,YP=.TRUE.IF(X+Y.LT.X)P=.FAIZE.Z=YIF(P)THENZ=X+2ELSEZ=XENDIFWPITE(* 程序LOCICAL PREAD(*,*)X,YP=.TRUE.IF(X+Y.LT.X)P=.FAIZE.Z=YIF(P)THENZ=X+2ELSEZ=XENDIFWPITE(*,*)ZEND当上述程序执行时,由键盘输入3.6,-1.2则执行后,输出的Z值是()。(A) 3.6(B) -1.2(C) 2.4(D) 0 参考答案 查看答案