新人求教
pascal吧
全部回复
仅看楼主
level 1
的v888 楼主
编程由键盘输入两个整数a和b,计算出它们的和c并输出到屏幕上这是作业,总是做不对。有人能帮忙吗?
2015年11月01日 09点11分 1
level 9
这题!?
你哪不会
2015年11月01日 10点11分 2
level 9
var
a,b,c:longint;
begin
c:=a+b;
writeln(c);
readln
end.
2015年11月01日 10点11分 3
level 9
不懂追问
2015年11月01日 10点11分 4
level 1
的v888 楼主
额,c=
2015年11月01日 10点11分 5
level 1
的v888 楼主
为什么不行
2015年11月01日 10点11分 6
level 9
:= 为赋值语句
2015年11月01日 10点11分 7
level 9
好吧第三行后加
readln(a,b);
2015年11月01日 10点11分 8
level 5
var
a,b,c:integer;
begin
read(a,b);
c:=a+b;
write(c);
end.
2015年11月01日 12点11分 9
1