Користувач вводить два числа Якщо сума чисел більше чи дорівнює 50 - комп'ютер виводить подвоєне значення суми. Якщо ж сума менше 50, то комп'ютер виводить половину значення суми цих двох чисел
Ответы
Ответ дал:
2
Відповідь:
It's written in python:)
num1 = int(input("Enter the first number: "))
num2 = int(input("Enter the second number: "))
total = num1 + num2
if total >= 50:
print("The double of the sum is", total * 2)
else:
print("The half of the sum is", total / 2)
Пояснення:
Sorry for the English, I hope I helped you in some way!
If something does not copy, I have attached below how it should look in the input line
Have a great day!
Приложения:

Аноним:
You gave 2 stars for English?(
Вас заинтересует
1 год назад
1 год назад
1 год назад
2 года назад
2 года назад
8 лет назад