10 варик Var a,b,c,K,sum:real;
Begin
K:=0;
Sum:=0;
Write ('a='); read (a);
Write ('b='); read (b);
Write ('c='); read (c);
begin
If a<0 then writeln ('K:=K+1' , 'sum:=sum+a')
If b<0 then writeln ('K:=K+1' , 'sum:=sum+b');
If c<0 then writeln ('K:=K+1' , 'sum:=sum+c');
Writeln('sum=sum/k');
End
end.
у меня выходит sum=sum/k что не так?(
137
146
Ответы на вопрос:
Популярно: Информатика
-
Zlatasolnce15.11.2020 10:11
-
лалвллв12.04.2021 22:04
-
Диарочка127.04.2020 20:49
-
ExDragon28.12.2022 19:39
-
mdominik08.06.2021 13:12
-
vika1612200412.12.2021 07:28
-
LeaV26.12.2021 08:03
-
deniska3955v06.07.2020 23:20
-
Данил627026.04.2020 02:44
-
polinalopareva111.03.2021 10:48