Namespace: System.Windows.Forms MessageBox public static DialogResult Show( string text ) - только сам текст сообщения Например MessageBox.Show("Hello, world.");
Есть много перегрузок у метода Show Show(String, String) - текст и заголовок Show(String, String, MessageBoxButtons) - текст и заголовок и кнопки Show(String, String, MessageBoxButtons, MessageBoxIcon) - плюс иконка окна сообщения Show(String, String, MessageBoxButtons, MessageBoxIcon, MessageBoxDefaultButton) - плюс выбрана кнопка по умолчанию И еще и еще. Смотрите справку на сайте MSDN
Пример с иконкой MessageBox.Show("Typical installation is strongly recommended.", "Install information", MessageBoxButtons.OK, MessageBoxIcon.Information);
var a:array[1..3, 1..4] of integer; i,j,min:integer; begin for i:=1 to 3 do for j:=1 to 4 do begin read(a[i,j]); if a[i,j]<0 then min:=a[i,j]; end; for i:=1 to 3 do for j:=1 to 4 do if (a[i,j]<0) and (a[i,j]<min) then min:=a[i,j]; writeln('Минимальное отрицательное число ',min); end.
Задача №2 var a:array[1..2, 1..5] of integer; i,j:integer; begin for i:=1 to 2 do for j:=1 to 5 do read(a[i,j]); for i:=1 to 2 do begin for j:=1 to 5 do write(a[i,j],' '); writeln; end; end.
Задача №3 var a:array[1..3, 1..4] of integer; i,j:integer; begin for i:=1 to 3 do for j:=1 to 4 do read(a[i,j]); for i:=1 to 3 do for j:=1 to 4 do if a[i,j]=10 then writeln('Номер столбца — ',j,' Номер строки — ',i); end.
a)4Mb.
б)Intel
в)2.1GHz
г)Intel Core i3-2405S
д)