М
Молодежь
К
Компьютеры-и-электроника
Д
Дом-и-сад
С
Стиль-и-уход-за-собой
П
Праздники-и-традиции
Т
Транспорт
П
Путешествия
С
Семейная-жизнь
Ф
Философия-и-религия
Б
Без категории
М
Мир-работы
Х
Хобби-и-рукоделие
И
Искусство-и-развлечения
В
Взаимоотношения
З
Здоровье
К
Кулинария-и-гостеприимство
Ф
Финансы-и-бизнес
П
Питомцы-и-животные
О
Образование
О
Образование-и-коммуникации
gcgccg
gcgccg
22.01.2021 23:08 •  Информатика

1. дано n целых чисел. вывести все числа, меньшие последнего числа в ряду; 2. определите, есть ли в массиве числа от 3 до 7. укажите их номер.

👇
Ответ:
ivanovartem02
ivanovartem02
22.01.2021
Program asd;
Var A,C:array[1..2500] of integer;
i,n,s,ii:integer; 
sr:real;
BEGIN
Write('Введите n: '); Readln(n);
Writeln('Массив: '); 
For i:=1 to n do 
 begin 
 A[i]:=1+Random(9);
  Write(A[i]:2);  
 end;  
 Writeln;
  Writeln('Все элементы, которые меньше последнего числа в ряду: ');
For i:=1 to n do
 begin 
if A[i]<A[n] then Write(A[i]:2);
 end;  
Writeln(); 
 Writeln('Номер элементов, которые от 3 до 7.: ');  
  For i:=1 to n do
  begin 
 If  (A[i]>=3) and (A[i]<=7)   
 then 
 begin  
C[i]:=i;   Write(C[i],' ');  
 end;   
 end;
 END.
4,5(29 оценок)
Открыть все ответы
Ответ:
tanyabober
tanyabober
22.01.2021

ответ:http://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ru

Объяснение:http://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ruhttp://planetoflife.ru

4,7(1 оценок)
Ответ:
AFilchac
AFilchac
22.01.2021

1 текст:     

 

(Буква)      (Десятичный код)     (код)

 

 

    С                      243                            11110011

     у                      213                            11010101

    а                      193                             11000001

                           206                            11001110

   ( - )                    45                              00101101

                           208                            11010000

    а                      193                             11000001

                          206                             11001110

 

 

 

2 текст:         (Англ.яз)

 

 

(Буква)            (Десятичный код)     (Двоичный код)

 

 

   I                         73                                01001001 

  B                        66                                01000010

  M                        77                                01001101

 

 

 

 Примечания: ответы даны на ПОКАЗАННЫЕ Вами буквы и знаки.

( - )  - обозначение дефиса.

Английские буквы не кодируются в КОИ-8, используют (не беспокойтесь, это совершенно правильный подход).

4,6(29 оценок)
Новые ответы от MOGZ: Информатика
logo
Вход Регистрация
Что ты хочешь узнать?
Спроси Mozg
Открыть лучший ответ