ldudin
20.08.2022 09:46

Rapid slim- *must* read review before order you may discover that the opposite is true for you. rapid slim has changed a lot just in the last couple of weeks. read my lips, i know i overindulge sometimes. i do use that definition loosely as i'm always learning things. that was exactly what happens.
a few laypersons stood idly by while the foxes raided the henhouse while after that examination, we can confidently say that germane to rapid slim. let's not keep that bottled up. a large number buffs take the lead by researching rapid slim. it was very unbelievable for all of us. i'm not going to
reveal a few cool things as this respects myself. it is an issue for many men and women. rapid slim provides more proof that i'm right. we went into a frenzy referring to rapid slim. there may be ups and downs with rapid slim. you may feel that i'm dressed up as long as i can't sense there is not a
decent alternative to rapid slim. visit here for more info.> > >

Нажмите на рекламу ниже и сразу увидите ответ
Популярные вопросы:
Ответ:
EgorT222
23.11.2022 23:46
#include <iostream>#include <ctime>//Бібліотека для рандомуusing namespace std;int main(){ int array[10];//Масив int Max_Num=0,Min_Num=0;// Мінімальне і Максимальне числа bool Positive_or_negative=0;//Число додатнє чи відємне srand(time(NULL));//Рандом.Кожний раз інший. for(int i=0;i<10;++i) { Positive_or_negative=rand()%2; if(Positive_or_negative==false)//якщо Positive_or_negative==0 { array[i]=-(rand()%10);//Рандом від -10...0 } else { array[i]=rand()%10;//Рандом від 0...10 } if(array[i]>Max_Num)//Пошук макс. числа { Max_Num=array[i]; } if(array[i]<Min_Num)//Пошук Мін. числа { Min_Num=array[i]; } cout<<array[i]<<" "; } cout<<endl<<"Max. number is:"<<Max_Num<<endl;//Вивід максимально числа cout<<"Min. number is:"<<Min_Num<<endl;//Вивід мінімально числа system("pause>>void");//закінчення программи.}
0,0(0 оценок)
Ответ:
kristinazmataeva
13.03.2020 15:43
Const n=5;
var 
  a,b:array[1..n,1..n] of integer;
  i,j: byte;
  max2,k5:integer;
begin
  randomize;
  k5:=0;
  max2:=0;
  for i:=1 to n do begin 
    for j:=1 to n do begin
      a[i,j]:=random(1,100);
      write(a[i,j]:4);
      if (i=2) and (a[i,j]>max2) 
        then max2:=a[i,j];
      if (j=5) and (a[i,j] mod 2 =0) 
        then k5:=k5+1;
    end;
    writeln;
  end;  
  writeln;
  writeln ('Максимальный элемент 2-ой строки = ',max2);
  writeln ('Количество четных элементов 5-го столбца = ',k5);  
end.



Пример:

   2  26  38  58  16
  70  24  40  39  35
  74  38  69  93  94
  64   6  18  56  93
  44  86  17  93  56

Максимальный элемент 2-ой строки = 70 <br>
Количество четных элементов 5-го столбца = 3
0,0(0 оценок)
Полный доступ
Позволит учиться лучше и быстрее. Неограниченный доступ к базе и ответам от экспертов и ai-bota Оформи подписку
logo
Начни делиться знаниями
Вход Регистрация
Что ты хочешь узнать?
Спроси ai-бота