Запишите значение переменной s, полученное в результате работы следующей программы
1)Var s,k: integer;
Begin
s := 0;
for k := 3 to 7 do
s := s + 14;
writeln(s);
End.

2) Var s,k: integer;
Begin
s := 0;
for k := 14 to 19 do
s := s + 9;
writeln(s);
End.

3)Var s,k: integer;
Begin
s := 5;
for k := 2 to 7 do
s := s + 6;
writeln(s);
End.

4) Var s,k: integer;
Begin
s := 0;
for k := 2 to 10do
s := s + 2;
writeln(s);
End.

5) Var s,k: integer;
Begin
s := 12;
for k := 12 to 14 do
s := s + 12;
writeln(s);
End.

6) Var s,k: integer;
Begin
s := 0;
for k := 1 to 4do
s := s + 10;
writeln(s);
End.

7) Var s,k: integer;
Begin
s := 0;
for k := 6 to 10 do
s := s + 6;
writeln(s);
End.
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Copyright © 2024 SCHOLAR.TIPS - All rights reserved.