LET A=4.6 LET B=2 LET C= INT(B*A) PRINT C END

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/26 04:47:31
LETA=4.6LETB=2LETC=INT(B*A)PRINTCENDLETA=4.6LETB=2LETC=INT(B*A)PRINTCENDLETA=4.6LETB=2LETC=INT(B*A)P

LET A=4.6 LET B=2 LET C= INT(B*A) PRINT C END
LET A=4.6 LET B=2 LET C= INT(B*A) PRINT C END

LET A=4.6 LET B=2 LET C= INT(B*A) PRINT C END
B*A=9.2
int为取最大整数.
int(c)=int(9.2)=9

A = 4.6
B = 2
C = AxB 取整 = 9.2 取整 =9
打印C
所以出来的应该是 9