Http://inflib.ru/index2.php?id=1128&Itemid=25&option=com_content&page=0&pop=1&task=view
1) Находим кол-во символов на 1 странице.
40*64=2560 символов.
2) 10 кб переводим в байты.
10 кб = 10240 байты
3) Находим кол-во страниц.
10240/2560 = 4 страницы
<span>ответ 1) 4.</span>
CLS
INPUT "N = ", N
INPUT "A = ", A
S = 0
FOR i = 0 TO N
P = A
FOR j = 1 TO i
P = P * (A + j)
NEXT j
S = S + 1 / P
NEXT i
PRINT ; "S = "; S
END
#include "stdafx.h"
#include <iostream>
#include <ctime>
using namespace std;
int main()
{
srand(time(0));
int n;
cout << "N = ";
cin >> n;
double A[100];
for (int i = 0; i < n; i++)
{
cin >> A[i];
}
for (int i = 0; i < n; i++)
{
cout << A[i] << ' ';
}
cout << endl;
double max = -999;
for (int i = 0; i < n; i++)
{
if (max <= A[i])
max = A[i];
}
cout << max << endl;
system("pause");
return 0;
}