pascal语言“s:=s+i/((i-3) div2);”哪错了; i,s均为real; 它说“got "Real" expected "Longint"
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 10:24:21
pascal语言“s:=s+i/((i-3) div2);”哪错了; i,s均为real; 它说“got "Real" expected "Longint"
pascal语言“s:=s+i/((i-3) div2);”哪错了; i,s均为real; 它说“got "Real" expected "Longint"
pascal语言“s:=s+i/((i-3) div2);”哪错了; i,s均为real; 它说“got "Real" expected "Longint"
div 是整数间的除法,换成 / 试试看.