<span>import math
x = float(input("x = "))
y =(x+1)/(x-1)
if x > 9.8:
p = (math.e**(x**x))/<span>2
</span> print(p)
elif x <= 9.8:
print(True)
elif x == 9.8:
print(14,5)
</span>
Program n1;
var a: real;
begin
readln(a);
if a>10 then write(a)
else if a<3 then write(a+11)
else writeln(a-100);
end.
var a:array [1..100] of int;
i,j,n,t,winners:integer;
Begin
writeln("Введите кол-во делителей");
read(n);
writeln("Введите k");
read(k);
writeln("Введите делители");
for i := 1 to n do
read(a[i]);
for i:= a to b do begin
t:=0;
for j:= 1 to n do
if i mod a[j] = 0 then t:=t+1;
if t=k then winners:=winners+1;
end;
writeln(winners);
End.
#include <iostream>
using namespace std;
pair<float, float> function_frac(float A, float B, float C, float D) {
return make_pair((A * D) / (B * C), (A * C) / (B * D));
}
int main()
{
setlocale(LC_ALL, "Russian");
float A;
cout << "Введите A:";
cin >> A;
float B;
cout << "Введите B:";
cin >> B;
float C;
cout << "Введите C:";
cin >> C;
float D;
cout << "Введите D:";
cin >> D;
pair<float, float> pair_F = function_frac(A, B, C, D);
cout << "Деление дроби на дробь равно: " << pair_F.first << endl << "Умножение дробей равно: " << pair_F.second;
}