Всего выпущено изделий на 1080 уе.
Надстройка, поиск решения в Excel.
<span>Самой главной деталью компьютера является
+ процессор это как бы мозг компьютера </span>
Python:
slovo = str(input())
a = slovo[::-1]
if slovo == a:
print("yes")
else:
print("no")
pascal:
function palindrom(var arg:string):boolean;
var i:byte;
str:string;
begin
palindrom:=false;
str:='';
for i:=length(arg) downto 1 do
str:=str+arg[i];
if str=arg then palindrom:=true; end;
var s:string;
begin readln(s); writeln(Palindrom(s));
readln;
end.
#include <iostream>
using namespace std;
int main()
{
int n, s1 = 0, s2 = 0, n1 = 0, n2 = 0;
cin >> n;
int a[n];
srand(time(0)); // инициализируем датчик
for(int i=0; i<n; i++)
{
a[i] = rand() % 101;
cout << a[i] << " ";
if(a[i] < 50)
{
n1++;
s1 += a[i];
}
else
{
n2++;
s2 += a[i];
}
}
double m1 = double(s1) / n1;
double m2 = double(s2) / n2;
cout << endl << m1 << " " << m2;
return 0;
}