- 津津的储蓄计划
- 2009-06-07 10:36:39 @
program ing;
const m=300;
var a:array[1..m] of integer;
i,j,k,money:integer;
n:real; t:boolean;
begin t:=true;
for j:=1 to 12 do begin
read(money);
k:=k+300-money;
while k>=100 do begin
n:=n+100; k:=k-100;
end;
if k
0 条评论
目前还没有评论...