syntax error,"identifier" expected but "VAR" found 哪里错了啊!~~ 5
programA01002;Varge,shi,bai,data:integer;beginreadln(data);ge:=datamod10;bai:=datadiv...
program A01002;
Var ge,shi,bai,data:integer;
begin
readln(data);
ge:=data mod 10;
bai:=data div 100;
shi:=(data-bai*100)div 10;
writeln('bai=',bai);
writeln('shi',shi);
writeln('ge',ge);
readln
end. 展开
Var ge,shi,bai,data:integer;
begin
readln(data);
ge:=data mod 10;
bai:=data div 100;
shi:=(data-bai*100)div 10;
writeln('bai=',bai);
writeln('shi',shi);
writeln('ge',ge);
readln
end. 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询