1. 2*32 = 62 байт
2. ((1626-1536)*8*1024)/(32*60*24) = 16 бит
3. 5 бит, но если меньше 32, то достаточно и 4 бит
4.
5.
8*168 = 1344 бит = 168 байт
6.
7.
5*6 = 30 = 30/8 = 4 байта
4 * 125 = 500 байт
Задание #1
var a:integer;
begin
a:=10;
while a<=150 do
begin
write (a,' ');
a:=a+10
end;
writeln;
a:=200;
repeat
write (a,' ');
a:=a-10
until a<100
end.
Задание #2
var a,b:integer;
begin
readln(a,b);
if a>b then write (a) else write (b)
end.
Задания #3
var a,b,c:integer;
begin
readln(a,b,c);
if (a>b) and (a>c) then write (a,' ',b+c);
if (b>a) and (b>c) then write (b,' ',a+c);
if (c>a) and (c>b) then write (c,' ',a+b)
end.
1) Задумываешь какой торт ты хочешь (малиновый, со сливками и тд)
2) Для чего
3) Какие инградиенты понадобятся
4) Какие приспособления (плита, нож и тд).
5) Сколько денег на все это нужно? И сколько времени.
#include <iostream>
#include <cstdlib>
using namespace std;
int main(int argc, char** argv) {
float x1,x2,x3,x4,mx;
cout<<"числа через пробел"<<endl;
<span> cout<<"x1 x2 x3 x4"<<endl;
</span> cin>>x1>>x2>>x3>>x4;
mx=min(x1,min(x2,min(x3,x4)));
cout<<"минимальное число = "<<mx<<endl;
system("pause");
return(0);
}
<span>
</span>