Msdos. the command dir/w means: // a) screenful at a time the output table of contents.// b) display file name information in the directory to 5 in each line.// c) printing text on the printer.// d) display text on the screen.// e) listing the contents of a directory.
225
413
Ответы на вопрос:
Const n = 50; // количество чиселvar k: array [1..n] of integer; i, j, n1, n2, minr, a, b: integer; begin writeln(n, ' ', ': d'); a : = random(1000); b : = random(1000); minr : = 10000; for i : = 1 to n do k[i] : = a + random(b); for i : = 1 to n do for j : = 1 to n do if ((abs(k[i] - k[j])) < minr) and (k[i] < > k[j]) then begin minr : = abs(k[i] - k[j]); n1 : = i; n2 : = j; end; writeln(n1, ' ', n2); end.
Популярно: Информатика
-
devochka000119.01.2023 08:05
-
Sonya5ï01.12.2022 15:45
-
Ris123417.12.2021 20:36
-
РенатаG11.08.2020 09:15
-
cheri22822.01.2023 13:55
-
elenkagumerovalistru24.05.2023 05:22
-
igfubvl36705.05.2022 01:02
-
Filil02.08.2022 20:50
-
olgaollik30.03.2021 20:47
-
wwwvadimsokol15.07.2021 12:41