9 lines
356 B
Python
9 lines
356 B
Python
'''***Задание 3 из 20 Параграф 2.1 ***************
|
|
* Теперь надо определить, какую сдачу нужно выдать покупателю за покупку товара.
|
|
'''
|
|
|
|
if __name__ == "__main__":
|
|
price = int(input())
|
|
weight = int(input())
|
|
money = int(input())
|
|
print(money - price * weight) |