Python code:
1)
print("Zadacha 1")
x = float(input("Vvedite x"))
if x >= 0:
y = 7 * x - 3
print(y)
else:
y = 2 * (x * x * x)
2)
print("Zadacha 2")
a = float(input("Vvedite result pervogo"))
b = float(input("Vvedite result vtorogo"))
c = float(input("Vvedite result tretego"))
if (a > b) and (a > c):
print(a)
if (b > a) and (b > c):
print(b)
if (c > a) and (c > b):
print(c)
3)
print("Zadacha nomer 3")
b = float(input("Vedite B"))
if b > 3:
b = b - 5
print(b)
else:
b = 2 * b
print(b)