maj
This commit is contained in:
parent
858ce3c4bc
commit
875f170beb
10
arrond.py
10
arrond.py
@ -1,10 +0,0 @@
|
||||
from math import *
|
||||
|
||||
taxeA = float(input())
|
||||
taxeN = float(input())
|
||||
prixA = float(input())
|
||||
|
||||
prixAHT = round(prixA + prixA*(-taxeA / 100))
|
||||
prixN = prixAHT + prixAHT*(taxeN / 100)
|
||||
|
||||
print(round(prixN,2))
|
10
augmentation_taxes.py
Normal file
10
augmentation_taxes.py
Normal file
@ -0,0 +1,10 @@
|
||||
from math import *
|
||||
|
||||
taxeA = float(input())
|
||||
taxeN = float(input())
|
||||
prixA = float(input())
|
||||
|
||||
prixN = prixA / ( 1 + taxeA / 100) * (1 + taxeN / 100)
|
||||
prixN = round(prixN * 100) / 100
|
||||
|
||||
print(prixN)
|
Loading…
x
Reference in New Issue
Block a user