Программа на C++:
#include <iostream>
using namespace std;
int main()
{
int n, res;
cin<<n;
int a[n];
res=0;
for (int i=0; i<n; i++;)
{
if (a[i]%10==2 and a[i]>res)
res=a[i];
}
cout<<res;
}
var a,b:integer;
Begin
randomize;
a:=random(99);
writeln('Дополните ', a);
read(b);
if (a+b=100) then writeln(':-)')
else writeln(':-(');
end.
Program One;
var
a, b, c: real;
count : byte;
begin
readln (a, b, c);
count := 0;<span>
if a < 0 then inc (count);</span>
if b < 0 then inc (count);
if c < 0 then inc (count);
wrireln (count);
<span>end.
Надеюсь на лучший ответ:)</span>
1) 0,5 Мбайт = 512 Кбайт.
След., 500 Кбайт < 512 Мбайт
2) 2 Кбайт = 2048 байт.
След., 4500 байт > 2048 байт